Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.MixingVolumeZeroFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IBPSA_latest_IBPSA_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.000867/0.000867, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008713/0.0008713, allocations: 177.3 kB / 16.92 MB, free: 6.645 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.31/1.31, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6734/0.6734, allocations: 115.5 MB / 407.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003116, allocations: 8 kB / 496 MB, free: 6.316 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1328, allocations: 77.52 MB / 0.56 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.2794/0.4123, allocations: 48.4 MB / 0.6073 GB, free: 6.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.4274, allocations: 12.59 MB / 0.6196 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001998/0.4294, allocations: 66.28 kB / 0.6197 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.431, allocations: 0.6217 MB / 0.6203 GB, free: 14.24 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.4351, allocations: 1.696 MB / 0.6219 GB, free: 13.26 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00296/0.438, allocations: 1.206 MB / 0.6231 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00435/0.4424, allocations: 4.367 MB / 0.6274 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.444, allocations: 1.042 MB / 0.6284 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002273/0.4463, allocations: 1.077 MB / 0.6294 GB, free: 9.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.448, allocations: 0.8958 MB / 0.6303 GB, free: 9.133 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.4482, allocations: 40.66 kB / 0.6304 GB, free: 9.133 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.4503, allocations: 1.035 MB / 0.6314 GB, free: 8.551 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.4505, allocations: 230 kB / 0.6316 GB, free: 8.383 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006406/0.4512, allocations: 0.6195 MB / 0.6322 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.4531, allocations: 1.876 MB / 0.634 GB, free: 6.781 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4531, allocations: 3.938 kB / 0.634 GB, free: 6.777 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4531, allocations: 0 / 0.634 GB, free: 6.777 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.4531, allocations: 0.8438 kB / 0.634 GB, free: 6.777 MB / 462.1 MB 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.001989/0.4551, allocations: 1.48 MB / 0.6355 GB, free: 5.629 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4552, allocations: 9.562 kB / 0.6355 GB, free: 5.629 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.4553, allocations: 131.5 kB / 0.6356 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004972/0.4558, allocations: 223.9 kB / 0.6358 GB, free: 5.418 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.4574, allocations: 1.097 MB / 0.6369 GB, free: 4.555 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/0.4577, allocations: 132.3 kB / 0.637 GB, free: 4.504 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.075e-05/0.4578, allocations: 83.91 kB / 0.6371 GB, free: 4.477 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.4594, allocations: 1.009 MB / 0.6381 GB, free: 3.805 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.4594, allocations: 0 / 0.6381 GB, free: 3.805 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.884e-05/0.4595, allocations: 41.41 kB / 0.6381 GB, free: 3.773 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.4595, allocations: 21.94 kB / 0.6381 GB, free: 3.773 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.461, allocations: 0.688 MB / 0.6388 GB, free: 3.461 MB / 462.1 MB 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.004199/0.4652, allocations: 4.441 MB / 0.6431 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.4663, allocations: 433.4 kB / 0.6436 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005291/0.4669, allocations: 244.2 kB / 0.6438 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007632/0.4677, allocations: 1.146 MB / 0.6449 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.4677, allocations: 42.16 kB / 0.645 GB, free: 13.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.353e-06/0.4677, allocations: 4 kB / 0.645 GB, free: 13.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=29): time 0.002633/0.4703, allocations: 1.156 MB / 0.6461 GB, free: 13.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.4704, allocations: 58.84 kB / 0.6461 GB, free: 13.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009057/0.4713, allocations: 0.9315 MB / 0.6471 GB, free: 12.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.4713, allocations: 31.23 kB / 0.6471 GB, free: 12.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/0.4717, allocations: 0.5739 MB / 0.6476 GB, free: 11.96 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.772e-05/0.4718, allocations: 108.2 kB / 0.6477 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.4719, allocations: 42.61 kB / 0.6478 GB, free: 11.83 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.472, allocations: 320.4 kB / 0.6481 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005584/0.4725, allocations: 222.7 kB / 0.6483 GB, free: 11.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006368/0.4732, allocations: 395.8 kB / 0.6487 GB, free: 11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.4744, allocations: 0.6046 MB / 0.6493 GB, free: 10.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.4744, allocations: 4 kB / 0.6493 GB, free: 10.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001511/0.4759, allocations: 0.7718 MB / 0.65 GB, free: 9.531 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4759, allocations: 8 kB / 0.65 GB, free: 9.523 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4759, allocations: 4 kB / 0.65 GB, free: 9.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005931/0.4765, allocations: 162.9 kB / 0.6502 GB, free: 9.352 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005813/0.4771, allocations: 167.7 kB / 0.6504 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009282/0.4781, allocations: 1.723 MB / 0.652 GB, free: 7.387 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006322/0.4787, allocations: 118.8 kB / 0.6522 GB, free: 7.273 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.832e-05/0.4788, allocations: 27.98 kB / 0.6522 GB, free: 7.246 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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.0003187/0.4791, allocations: 267.1 kB / 0.6524 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.4792, allocations: 110.6 kB / 0.6525 GB, free: 6.867 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.481, allocations: 0.7633 MB / 0.6533 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.481, allocations: 15.92 kB / 0.6533 GB, free: 6.082 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.481, allocations: 0 / 0.6533 GB, free: 6.082 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.481, allocations: 0 / 0.6533 GB, free: 6.082 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.4836, allocations: 1.667 MB / 0.6549 GB, free: 4.336 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.4836, allocations: 4 kB / 0.6549 GB, free: 4.332 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/0.4841, allocations: 108.1 kB / 0.655 GB, free: 4.227 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/0.4846, allocations: 154.3 kB / 0.6552 GB, free: 4.066 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.4846, allocations: 12.06 kB / 0.6552 GB, free: 4.055 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008767/0.4855, allocations: 1.712 MB / 0.6569 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4855, allocations: 4.031 kB / 0.6569 GB, free: 2.262 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.487, allocations: 0.8199 MB / 0.6577 GB, free: 1.398 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.4873, allocations: 247.6 kB / 0.6579 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.381e-05/0.4874, allocations: 8 kB / 0.6579 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006513/0.488, allocations: 95.81 kB / 0.658 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.4881, allocations: 23.91 kB / 0.658 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.4882, allocations: 19.98 kB / 0.658 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006543/0.4888, allocations: 0.6342 MB / 0.6587 GB, free: 360 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4888, allocations: 0 / 0.6587 GB, free: 360 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008323/0.4897, allocations: 363.2 kB / 0.659 GB, free: 15.99 MB / 494.1 MB 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.002269/0.4919, allocations: 1.656 MB / 0.6606 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.4934, allocations: 0.5767 MB / 0.6612 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4934, allocations: 0 / 0.6612 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007775/0.4942, allocations: 312 kB / 0.6615 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/0.4966, allocations: 0.5026 MB / 0.662 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.5069, allocations: 8.062 MB / 0.6699 GB, free: 4.406 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/0.5074, allocations: 1.103 MB / 0.6709 GB, free: 3.277 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005345/0.508, allocations: 179.9 kB / 0.6711 GB, free: 3.098 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/0.5084, allocations: 419.3 kB / 0.6715 GB, free: 2.688 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5084, allocations: 0 / 0.6715 GB, free: 2.688 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.4/3.909, allocations: 27.27 MB / 0.6981 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/3.909, allocations: 282.2 kB / 0.6984 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.142/7.051, allocations: 0 / 0.6984 GB, free: 7.484 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)