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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 110.6 kB / 15.99 MB, free: 6.367 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.000973/0.0009731, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.222/1.222, allocations: 222.9 MB / 240.6 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 285.5 kB / 291 MB, free: 14.76 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8844/0.8844, allocations: 169.2 MB / 0.4985 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 94.28 kB / 0.5953 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1798, allocations: 86.98 MB / 0.6803 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.3224/0.5023, allocations: 49.33 MB / 0.7284 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01903/0.5213, allocations: 12.58 MB / 0.7407 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003424/0.5248, allocations: 70.72 kB / 0.7408 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.5271, allocations: 0.6543 MB / 0.7414 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005432/0.5325, allocations: 1.712 MB / 0.7431 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003697/0.5363, allocations: 1.221 MB / 0.7443 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004697/0.541, allocations: 3.288 MB / 0.7475 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.5427, allocations: 1.235 MB / 0.7487 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003771/0.5465, allocations: 1.31 MB / 0.75 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.5481, allocations: 0.9594 MB / 0.7509 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.5483, allocations: 96.03 kB / 0.751 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.5507, allocations: 1.072 MB / 0.7521 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002924/0.551, allocations: 296 kB / 0.7524 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007495/0.5517, allocations: 0.682 MB / 0.753 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.5537, allocations: 1.491 MB / 0.7545 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5537, allocations: 0 / 0.7545 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5537, allocations: 0 / 0.7545 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.5538, allocations: 5.125 kB / 0.7545 GB, free: 0.9492 MB / 0.5137 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.002708/0.5565, allocations: 1.702 MB / 0.7561 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.5565, allocations: 10.03 kB / 0.7561 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007531/0.5573, allocations: 206.7 kB / 0.7563 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/0.5595, allocations: 1.08 MB / 0.7574 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003566/0.5598, allocations: 127 kB / 0.7575 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.56, allocations: 87.53 kB / 0.7576 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.5618, allocations: 0.9857 MB / 0.7586 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.5619, allocations: 3.938 kB / 0.7586 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.858e-05/0.5619, allocations: 42.97 kB / 0.7586 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.562, allocations: 19.94 kB / 0.7586 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.5634, allocations: 0.6563 MB / 0.7593 GB, free: 13.6 MB / 0.5294 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.005046/0.5684, allocations: 4.409 MB / 0.7636 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.5696, allocations: 419.3 kB / 0.764 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005288/0.5701, allocations: 223.2 kB / 0.7642 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008079/0.5709, allocations: 1.148 MB / 0.7653 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.571, allocations: 44.8 kB / 0.7654 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 1.883e-06/0.571, allocations: 0 / 0.7654 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.002791/0.5738, allocations: 1.09 MB / 0.7664 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.5738, allocations: 59.34 kB / 0.7665 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.5749, allocations: 0.9356 MB / 0.7674 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.5749, allocations: 33.7 kB / 0.7674 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004004/0.5754, allocations: 0.5812 MB / 0.768 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.956e-05/0.5755, allocations: 102.6 kB / 0.7681 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.5756, allocations: 106 kB / 0.7682 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5757, allocations: 326 kB / 0.7685 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/0.5763, allocations: 197 kB / 0.7687 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/0.5769, allocations: 382.8 kB / 0.7691 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.5781, allocations: 0.5648 MB / 0.7696 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.5781, allocations: 4 kB / 0.7696 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001571/0.5797, allocations: 0.7364 MB / 0.7703 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5797, allocations: 8 kB / 0.7703 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.5797, allocations: 4 kB / 0.7703 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006524/0.5804, allocations: 155.2 kB / 0.7705 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.581, allocations: 151.7 kB / 0.7706 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.5821, allocations: 1.716 MB / 0.7723 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008719/0.583, allocations: 107.4 kB / 0.7724 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.583, allocations: 27.98 kB / 0.7724 GB, free: 420 kB / 0.5294 GB 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.0004579/0.5835, allocations: 265.7 kB / 0.7727 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.5837, allocations: 118.6 kB / 0.7728 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.5855, allocations: 0.7301 MB / 0.7735 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.5855, allocations: 4 kB / 0.7735 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.5855, allocations: 7.938 kB / 0.7735 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.5856, allocations: 3.984 kB / 0.7735 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.5886, allocations: 1.632 MB / 0.7751 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.5886, allocations: 0 / 0.7751 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.5891, allocations: 96.02 kB / 0.7752 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005656/0.5897, allocations: 146.5 kB / 0.7754 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.5897, allocations: 15.92 kB / 0.7754 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.5908, allocations: 1.712 MB / 0.777 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5908, allocations: 3.938 kB / 0.777 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.5924, allocations: 0.7855 MB / 0.7778 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/0.5928, allocations: 247.5 kB / 0.778 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.5929, allocations: 8 kB / 0.7781 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006466/0.5936, allocations: 67.92 kB / 0.7781 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.5937, allocations: 39.89 kB / 0.7782 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.5937, allocations: 19.98 kB / 0.7782 GB, free: 10.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007471/0.5945, allocations: 0.6342 MB / 0.7788 GB, free: 9.633 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.255e-06/0.5945, allocations: 0 / 0.7788 GB, free: 9.633 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001019/0.5955, allocations: 363.1 kB / 0.7791 GB, free: 9.277 MB / 0.545 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.000756/0.5963, allocations: 381.5 kB / 0.7795 GB, free: 8.906 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.5978, allocations: 0.5765 MB / 0.7801 GB, free: 8.332 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/0.5979, allocations: 8 kB / 0.7801 GB, free: 8.324 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000771/0.5986, allocations: 288 kB / 0.7804 GB, free: 8.043 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.6008, allocations: 0.5251 MB / 0.7809 GB, free: 7.535 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.6039, allocations: 2.303 MB / 0.7831 GB, free: 5.191 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.6045, allocations: 1.103 MB / 0.7842 GB, free: 4.059 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.6047, allocations: 71.42 kB / 0.7843 GB, free: 3.988 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.6047, allocations: 0 / 0.7843 GB, free: 3.988 MB / 0.545 GB Notification: Performance of Templates: time 0.03273/0.6374, allocations: 31.66 MB / 0.8152 GB, free: 4.473 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)