Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 108.5 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 193.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7249/0.7249, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 60.34 kB / 0.5572 GB, free: 32.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1639, allocations: 76.18 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.624/0.7879, allocations: 242.4 MB / 0.8683 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02446/0.8124, allocations: 15.9 MB / 0.8838 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003787/0.8163, allocations: 75.56 kB / 0.8839 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003878/0.8202, allocations: 1.177 MB / 0.885 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01134/0.8316, allocations: 3.821 MB / 0.8888 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005074/0.8367, allocations: 1.822 MB / 0.8906 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007579/0.8443, allocations: 5.255 MB / 0.8957 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002749/0.8471, allocations: 1.668 MB / 0.8973 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006237/0.8533, allocations: 2.65 MB / 0.8999 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003939/0.8573, allocations: 1.708 MB / 0.9016 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004894/0.8578, allocations: 176 kB / 0.9017 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005594/0.8634, allocations: 2.705 MB / 0.9044 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.8645, allocations: 0.7713 MB / 0.9051 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001908/0.8664, allocations: 1.151 MB / 0.9063 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006789/0.8732, allocations: 3.566 MB / 0.9097 GB, free: 15.68 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.8732, allocations: 4 kB / 0.9097 GB, free: 15.68 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8732, allocations: 0 / 0.9097 GB, free: 15.68 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.856e-05/0.8733, allocations: 0 / 0.9097 GB, free: 15.68 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004223/0.8775, allocations: 2.491 MB / 0.9122 GB, free: 13.13 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.8776, allocations: 19.95 kB / 0.9122 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002545/0.8778, allocations: 215.1 kB / 0.9124 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002806/0.8806, allocations: 0.5048 MB / 0.9129 GB, free: 12.38 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/0.8833, allocations: 1.355 MB / 0.9142 GB, free: 10.97 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.8834, allocations: 174.2 kB / 0.9144 GB, free: 10.79 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/0.8837, allocations: 152 kB / 0.9145 GB, free: 10.64 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/0.8865, allocations: 1.749 MB / 0.9162 GB, free: 8.816 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/0.8865, allocations: 3.938 kB / 0.9162 GB, free: 8.812 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.8867, allocations: 60 kB / 0.9163 GB, free: 8.754 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.229e-05/0.8867, allocations: 62.62 kB / 0.9164 GB, free: 8.691 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.8891, allocations: 1.381 MB / 0.9177 GB, free: 7.305 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009437/0.8986, allocations: 8.202 MB / 0.9257 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.9001, allocations: 0.8964 MB / 0.9266 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008372/0.901, allocations: 0.5346 MB / 0.9271 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005742/0.9016, allocations: 320.4 kB / 0.9274 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.9016, allocations: 47.5 kB / 0.9275 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=96): time 3.085e-06/0.9016, allocations: 4 kB / 0.9275 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of matching and sorting (n=102): time 0.006851/0.9085, allocations: 3.111 MB / 0.9305 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.9085, allocations: 64.41 kB / 0.9306 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.9101, allocations: 1.262 MB / 0.9318 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.872e-05/0.9102, allocations: 57.64 kB / 0.9319 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005315/0.9108, allocations: 0.8094 MB / 0.9326 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/0.911, allocations: 374.6 kB / 0.933 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/0.9114, allocations: 226.8 kB / 0.9332 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9115, allocations: 345.9 kB / 0.9335 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007741/0.9123, allocations: 449.8 kB / 0.934 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.9134, allocations: 0.826 MB / 0.9348 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.9152, allocations: 1.256 MB / 0.936 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9152, allocations: 0 / 0.936 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002384/0.9176, allocations: 1.413 MB / 0.9374 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.9176, allocations: 8 kB / 0.9374 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.9177, allocations: 8 kB / 0.9374 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.9177, allocations: 16 kB / 0.9374 GB, free: 1.934 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.9188, allocations: 271.6 kB / 0.9377 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/0.9188, allocations: 19.92 kB / 0.9377 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.9201, allocations: 74.19 kB / 0.9378 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.83e-05/0.9201, allocations: 56.81 kB / 0.9378 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00131/0.9215, allocations: 0.764 MB / 0.9386 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009999/0.9225, allocations: 0.8299 MB / 0.9394 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001739/0.9242, allocations: 1.225 MB / 0.9406 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.639e-06/0.9242, allocations: 4 kB / 0.9406 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002292/0.9265, allocations: 1.397 MB / 0.9419 GB, free: 13 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.9266, allocations: 12.91 kB / 0.942 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.9266, allocations: 12 kB / 0.942 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.9266, allocations: 16 kB / 0.942 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.9276, allocations: 275.5 kB / 0.9422 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.9277, allocations: 19.94 kB / 0.9423 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.9289, allocations: 73.06 kB / 0.9423 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.992e-05/0.929, allocations: 52 kB / 0.9424 GB, free: 12.55 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003138/0.9293, allocations: 275.2 kB / 0.9426 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.9296, allocations: 162 kB / 0.9428 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.9317, allocations: 1.157 MB / 0.9439 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.9317, allocations: 8 kB / 0.9439 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.9317, allocations: 0 / 0.9439 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001614/0.9334, allocations: 1.083 MB / 0.945 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004694/0.9381, allocations: 2.788 MB / 0.9477 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.9381, allocations: 0 / 0.9477 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.9392, allocations: 251.9 kB / 0.948 GB, free: 6.695 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/0.9393, allocations: 11.94 kB / 0.948 GB, free: 6.684 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.554e-05/0.9393, allocations: 24 kB / 0.948 GB, free: 6.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/0.9393, allocations: 11.98 kB / 0.948 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9393, allocations: 0 / 0.948 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002737/0.9421, allocations: 1.767 MB / 0.9497 GB, free: 4.844 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006783/0.9428, allocations: 342.9 kB / 0.9501 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.943, allocations: 24 kB / 0.9501 GB, free: 4.465 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.944, allocations: 57.75 kB / 0.9501 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.9442, allocations: 68.95 kB / 0.9502 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-05/0.9443, allocations: 39.98 kB / 0.9502 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001059/0.9453, allocations: 0.8465 MB / 0.9511 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9453, allocations: 0 / 0.9511 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001934/0.9473, allocations: 0.7617 MB / 0.9518 GB, free: 2.695 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003366/0.9506, allocations: 2.482 MB / 0.9542 GB, free: 180 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003236/0.9539, allocations: 1.743 MB / 0.9559 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.9539, allocations: 0 / 0.9559 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008648/0.9548, allocations: 0.5189 MB / 0.9564 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004143/0.9589, allocations: 0.9083 MB / 0.9573 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/0.9772, allocations: 12 MB / 0.9691 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.9784, allocations: 1.437 MB / 0.9705 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001846/0.9803, allocations: 0.56 MB / 0.971 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008974/0.9812, allocations: 0.6906 MB / 0.9717 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.9812, allocations: 0 / 0.9717 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07503/1.056, allocations: 45.77 MB / 1.016 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.34, allocations: 11.02 kB / 1.016 GB, free: 0.5312 MB / 0.7637 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)