Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.Examples.MixingVolumeHeatConduction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.001034/0.001034, allocations: 107.3 kB / 15.99 MB, free: 6.348 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.001023/0.001024, allocations: 194.2 kB / 16.91 MB, free: 6.191 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.243/1.243, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6973/0.6973, allocations: 115.3 MB / 406.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.89 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2895, allocations: 76.17 MB / 0.556 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1536/0.4431, allocations: 168.8 MB / 0.7208 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005716/0.4488, allocations: 4.271 MB / 0.725 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006297/0.4495, allocations: 19.88 kB / 0.725 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009747/0.4505, allocations: 314.4 kB / 0.7253 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.4532, allocations: 1.155 MB / 0.7264 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.4549, allocations: 0.731 MB / 0.7271 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001836/0.4567, allocations: 1.685 MB / 0.7288 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007174/0.4575, allocations: 0.5541 MB / 0.7293 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.4586, allocations: 0.681 MB / 0.73 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.4597, allocations: 0.5934 MB / 0.7306 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.4599, allocations: 67.94 kB / 0.7306 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.4611, allocations: 0.8456 MB / 0.7315 GB, free: 412 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.4614, allocations: 259.3 kB / 0.7317 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004156/0.4618, allocations: 414.4 kB / 0.7321 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.4632, allocations: 1.309 MB / 0.7334 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4632, allocations: 0 / 0.7334 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.435e-06/0.4632, allocations: 4 kB / 0.7334 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.4632, allocations: 3.938 kB / 0.7334 GB, free: 14.42 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001535/0.4647, allocations: 1.036 MB / 0.7344 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4648, allocations: 12.03 kB / 0.7344 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.4649, allocations: 98.52 kB / 0.7345 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009744/0.4659, allocations: 163 kB / 0.7347 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006731/0.4666, allocations: 0.5288 MB / 0.7352 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.4666, allocations: 37.31 kB / 0.7352 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.474e-05/0.4667, allocations: 48 kB / 0.7353 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.4677, allocations: 0.6597 MB / 0.7359 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.4677, allocations: 0 / 0.7359 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/0.4678, allocations: 20 kB / 0.7359 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.4678, allocations: 25.31 kB / 0.736 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008452/0.4687, allocations: 0.5125 MB / 0.7365 GB, free: 11.16 MB / 0.5762 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.002895/0.4716, allocations: 2.309 MB / 0.7387 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.4721, allocations: 266.8 kB / 0.739 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.4723, allocations: 136.7 kB / 0.7391 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.4723, allocations: 4 kB / 0.7391 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.4724, allocations: 38.56 kB / 0.7391 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.223e-06/0.4724, allocations: 0 / 0.7391 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001521/0.4739, allocations: 0.6756 MB / 0.7398 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.474, allocations: 81.11 kB / 0.7399 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005695/0.4745, allocations: 0.5536 MB / 0.7404 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.4746, allocations: 29.7 kB / 0.7404 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.4748, allocations: 335 kB / 0.7408 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.4749, allocations: 75.08 kB / 0.7408 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.475, allocations: 65.94 kB / 0.7409 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4751, allocations: 366.7 kB / 0.7412 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.4753, allocations: 132.6 kB / 0.7414 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.4756, allocations: 214.6 kB / 0.7416 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.4761, allocations: 324.4 kB / 0.7419 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4762, allocations: 4 kB / 0.7419 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008441/0.477, allocations: 498.3 kB / 0.7424 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.477, allocations: 8 kB / 0.7424 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.477, allocations: 0 / 0.7424 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/0.4773, allocations: 105.9 kB / 0.7425 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.4777, allocations: 67.91 kB / 0.7425 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.4804, allocations: 3.344 MB / 0.7458 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.4809, allocations: 67.36 kB / 0.7459 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.481, allocations: 15.98 kB / 0.7459 GB, free: 0.8516 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002271/0.4812, allocations: 217.7 kB / 0.7461 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.616e-05/0.4813, allocations: 59.36 kB / 0.7461 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.824e-05/0.4814, allocations: 64.44 kB / 0.7462 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4814, allocations: 0 / 0.7462 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.4814, allocations: 3.938 kB / 0.7462 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2011/0.6825, allocations: 0.52 MB / 0.7467 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.684, allocations: 0.9233 MB / 0.7476 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.684, allocations: 1.156 kB / 0.7476 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.6842, allocations: 40.98 kB / 0.7477 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/0.6845, allocations: 65.69 kB / 0.7477 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.6845, allocations: 4.688 kB / 0.7477 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.6859, allocations: 1.824 MB / 0.7495 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6859, allocations: 2.125 kB / 0.7495 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000608/0.6865, allocations: 437 kB / 0.7499 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.6867, allocations: 169.1 kB / 0.7501 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.6868, allocations: 7.125 kB / 0.7501 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.6872, allocations: 34.78 kB / 0.7501 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.6873, allocations: 17.41 kB / 0.7501 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.6874, allocations: 13.61 kB / 0.7502 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004219/0.6878, allocations: 401.5 kB / 0.7505 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6878, allocations: 0 / 0.7505 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006432/0.6884, allocations: 203.6 kB / 0.7507 GB, free: 172.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009313/0.6894, allocations: 1.043 MB / 0.7518 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008161/0.6902, allocations: 0.5482 MB / 0.7523 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6902, allocations: 1.5 kB / 0.7523 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.6905, allocations: 252.4 kB / 0.7525 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.6921, allocations: 372.5 kB / 0.7529 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0056/0.6977, allocations: 4.73 MB / 0.7575 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.6981, allocations: 0.908 MB / 0.7584 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005101/0.6986, allocations: 110.2 kB / 0.7585 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.6988, allocations: 192.7 kB / 0.7587 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.6988, allocations: 0 / 0.7587 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03747/0.7363, allocations: 17.42 MB / 0.7757 GB, free: 163 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.7365, allocations: 290.1 kB / 0.776 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.685, allocations: 0 / 0.776 GB, free: 162.7 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)