Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.004823/0.004823, allocations: 97.77 kB / 15.73 MB, free: 5.602 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.001444/0.001444, allocations: 192.9 kB / 16.68 MB, free: 5.523 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002406/0.002406, allocations: 285.2 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9329/0.9329, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002549/0.002549, allocations: 95.86 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3709, allocations: 86.98 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04999/0.4209, allocations: 49.76 MB / 0.8145 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01764/0.4386, allocations: 12.66 MB / 0.8269 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.4406, allocations: 79.56 kB / 0.827 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.4426, allocations: 0.7643 MB / 0.8277 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004682/0.4473, allocations: 1.83 MB / 0.8295 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003254/0.4505, allocations: 1.366 MB / 0.8308 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003907/0.4544, allocations: 3.247 MB / 0.834 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.4561, allocations: 1.258 MB / 0.8352 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.4586, allocations: 1.295 MB / 0.8365 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.4597, allocations: 0.9369 MB / 0.8374 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.4599, allocations: 96 kB / 0.8375 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.4619, allocations: 1.068 MB / 0.8385 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.4622, allocations: 290.8 kB / 0.8388 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000663/0.4628, allocations: 0.6684 MB / 0.8395 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.4653, allocations: 1.986 MB / 0.8414 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.4653, allocations: 0 / 0.8414 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.346e-06/0.4653, allocations: 0 / 0.8414 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.4653, allocations: 3.938 kB / 0.8414 GB, free: 6.305 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002472/0.4678, allocations: 1.76 MB / 0.8431 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.4679, allocations: 8.031 kB / 0.8431 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.468, allocations: 131.4 kB / 0.8433 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005618/0.4686, allocations: 219.9 kB / 0.8435 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.4705, allocations: 1.105 MB / 0.8446 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.949e-05/0.4706, allocations: 74.12 kB / 0.8446 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.4707, allocations: 84 kB / 0.8447 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.4724, allocations: 0.9995 MB / 0.8457 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.4724, allocations: 0 / 0.8457 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.345e-05/0.4725, allocations: 40 kB / 0.8457 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.4725, allocations: 20 kB / 0.8457 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.474, allocations: 0.6555 MB / 0.8464 GB, free: 1.02 MB / 0.6075 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.004933/0.4789, allocations: 4.729 MB / 0.851 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.48, allocations: 401.4 kB / 0.8514 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/0.4805, allocations: 216.7 kB / 0.8516 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009221/0.4814, allocations: 1.144 MB / 0.8527 GB, free: 10 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.4815, allocations: 34.56 kB / 0.8527 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=29): time 1.403e-06/0.4815, allocations: 4 kB / 0.8527 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29): time 0.002699/0.4842, allocations: 1.075 MB / 0.8538 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.4843, allocations: 71.27 kB / 0.8539 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.4854, allocations: 0.9715 MB / 0.8548 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.4854, allocations: 33.7 kB / 0.8548 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/0.4859, allocations: 0.5978 MB / 0.8554 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.486, allocations: 111 kB / 0.8555 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.4862, allocations: 114.1 kB / 0.8556 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4863, allocations: 322 kB / 0.8559 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005237/0.4868, allocations: 204.9 kB / 0.8561 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000693/0.4875, allocations: 406.3 kB / 0.8565 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.4887, allocations: 0.5998 MB / 0.8571 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.4888, allocations: 4 kB / 0.8571 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001578/0.4903, allocations: 0.7646 MB / 0.8579 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4904, allocations: 8 kB / 0.8579 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4904, allocations: 4 kB / 0.8579 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006526/0.491, allocations: 166.9 kB / 0.858 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.4916, allocations: 143.8 kB / 0.8582 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.4928, allocations: 1.716 MB / 0.8598 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005672/0.4934, allocations: 87.67 kB / 0.8599 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.194e-05/0.4935, allocations: 35.98 kB / 0.86 GB, free: 2.164 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003654/0.4939, allocations: 261.6 kB / 0.8602 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.494, allocations: 123.1 kB / 0.8603 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/0.4958, allocations: 0.7177 MB / 0.861 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.4958, allocations: 11.94 kB / 0.861 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4958, allocations: 0 / 0.861 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4958, allocations: 4 kB / 0.861 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.4985, allocations: 1.628 MB / 0.8626 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.4985, allocations: 7.984 kB / 0.8626 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.499, allocations: 83.84 kB / 0.8627 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005376/0.4995, allocations: 150.6 kB / 0.8629 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.4996, allocations: 11.98 kB / 0.8629 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.5007, allocations: 1.716 MB / 0.8646 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5007, allocations: 0 / 0.8646 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.5022, allocations: 0.7814 MB / 0.8653 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.5025, allocations: 252.3 kB / 0.8656 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.5026, allocations: 8 kB / 0.8656 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005509/0.5032, allocations: 43.94 kB / 0.8656 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.5033, allocations: 35.84 kB / 0.8656 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/0.5033, allocations: 23.98 kB / 0.8657 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008127/0.5041, allocations: 0.658 MB / 0.8663 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.003e-06/0.5042, allocations: 0 / 0.8663 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000879/0.505, allocations: 390.8 kB / 0.8667 GB, free: 11.03 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002499/0.5075, allocations: 1.639 MB / 0.8683 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001454/0.509, allocations: 0.5516 MB / 0.8688 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.509, allocations: 0 / 0.8688 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007864/0.5098, allocations: 292 kB / 0.8691 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.512, allocations: 0.5321 MB / 0.8696 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.5224, allocations: 7.325 MB / 0.8768 GB, free: 328 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007328/0.5232, allocations: 1.107 MB / 0.8779 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005796/0.5238, allocations: 184 kB / 0.878 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004893/0.5243, allocations: 415.3 kB / 0.8784 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.5243, allocations: 4 kB / 0.8784 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06182/0.5861, allocations: 29.56 MB / 0.9073 GB, free: 1.578 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.18, allocations: 4.656 kB / 0.9073 GB, free: 1.574 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)