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.005879/0.005879, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001339/0.001339, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.331/1.331, 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.00204/0.00204, allocations: 297.6 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9531/0.9531, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 95.86 kB / 0.6815 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4529/0.4546, allocations: 86.99 MB / 0.7664 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.0528/0.5074, allocations: 49.75 MB / 0.815 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01748/0.5249, allocations: 12.67 MB / 0.8274 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.5272, allocations: 83.5 kB / 0.8274 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.5291, allocations: 0.7643 MB / 0.8282 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004629/0.5337, allocations: 1.83 MB / 0.83 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003307/0.537, allocations: 1.365 MB / 0.8313 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005867/0.5429, allocations: 3.253 MB / 0.8345 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/0.5447, allocations: 1.254 MB / 0.8357 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/0.5478, allocations: 1.311 MB / 0.837 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.549, allocations: 0.9331 MB / 0.8379 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.5492, allocations: 99.98 kB / 0.838 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.5516, allocations: 1.068 MB / 0.839 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002875/0.5519, allocations: 286.8 kB / 0.8393 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006385/0.5525, allocations: 0.6761 MB / 0.84 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002634/0.5552, allocations: 1.977 MB / 0.8419 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.5552, allocations: 3.938 kB / 0.8419 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5552, allocations: 0 / 0.8419 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.261e-05/0.5552, allocations: 3.938 kB / 0.8419 GB, free: 6.332 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.002612/0.5579, allocations: 1.689 MB / 0.8436 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5579, allocations: 12.03 kB / 0.8436 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006139/0.5585, allocations: 211.1 kB / 0.8438 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.5604, allocations: 1.104 MB / 0.8448 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.007e-05/0.5605, allocations: 62.38 kB / 0.8449 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.5606, allocations: 87.94 kB / 0.845 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.5623, allocations: 0.9996 MB / 0.846 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.5623, allocations: 7.938 kB / 0.846 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.672e-05/0.5624, allocations: 36 kB / 0.846 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.5624, allocations: 24 kB / 0.846 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.5639, allocations: 0.6516 MB / 0.8467 GB, free: 1.262 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.004832/0.5687, allocations: 4.719 MB / 0.8513 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.5698, allocations: 397.4 kB / 0.8517 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005084/0.5703, allocations: 224.6 kB / 0.8519 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000827/0.5712, allocations: 1.148 MB / 0.853 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.5712, allocations: 34.56 kB / 0.853 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/0.5712, allocations: 0 / 0.853 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29): time 0.002753/0.574, allocations: 1.077 MB / 0.8541 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.574, allocations: 59.34 kB / 0.8541 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.5751, allocations: 0.9754 MB / 0.8551 GB, free: 8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.5752, allocations: 33.7 kB / 0.8551 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.5756, allocations: 0.5851 MB / 0.8557 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.5757, allocations: 106.5 kB / 0.8558 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.5759, allocations: 110 kB / 0.8559 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.576, allocations: 330 kB / 0.8562 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.5765, allocations: 197 kB / 0.8564 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/0.5772, allocations: 406.8 kB / 0.8568 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.5783, allocations: 0.6037 MB / 0.8574 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5783, allocations: 3.938 kB / 0.8574 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001558/0.5799, allocations: 0.7602 MB / 0.8581 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5799, allocations: 8 kB / 0.8581 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.5799, allocations: 8 kB / 0.8581 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/0.5805, allocations: 158.8 kB / 0.8583 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005698/0.5811, allocations: 151.7 kB / 0.8584 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.5822, allocations: 1.716 MB / 0.8601 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005807/0.5827, allocations: 83.53 kB / 0.8602 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.5828, allocations: 31.98 kB / 0.8602 GB, free: 2.441 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.0003561/0.5832, allocations: 265.6 kB / 0.8605 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.5833, allocations: 118.5 kB / 0.8606 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.585, allocations: 0.7147 MB / 0.8613 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.585, allocations: 7.984 kB / 0.8613 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5851, allocations: 7.938 kB / 0.8613 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.5851, allocations: 0 / 0.8613 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.5876, allocations: 1.632 MB / 0.8629 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5876, allocations: 0 / 0.8629 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/0.5881, allocations: 87.84 kB / 0.863 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005234/0.5886, allocations: 150.5 kB / 0.8631 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.5887, allocations: 15.92 kB / 0.8631 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009497/0.5896, allocations: 1.704 MB / 0.8648 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5896, allocations: 8.094 kB / 0.8648 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.5911, allocations: 0.7767 MB / 0.8656 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.5914, allocations: 251.8 kB / 0.8658 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.5915, allocations: 4 kB / 0.8658 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005625/0.5921, allocations: 43.95 kB / 0.8658 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/0.5922, allocations: 39.88 kB / 0.8659 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.5922, allocations: 19.98 kB / 0.8659 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007325/0.593, allocations: 0.6619 MB / 0.8666 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.593, allocations: 0 / 0.8666 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008947/0.5939, allocations: 375.1 kB / 0.8669 GB, free: 11.32 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.0007054/0.5946, allocations: 413.2 kB / 0.8673 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.596, allocations: 0.552 MB / 0.8678 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.596, allocations: 0 / 0.8678 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000762/0.5968, allocations: 291.9 kB / 0.8681 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.599, allocations: 0.5211 MB / 0.8686 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.6015, allocations: 1.816 MB / 0.8704 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/0.6021, allocations: 1.103 MB / 0.8715 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005095/0.6026, allocations: 187.9 kB / 0.8717 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.6027, allocations: 71.42 kB / 0.8717 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of SimCode: time 4e-07/0.6028, allocations: 0 / 0.8717 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of Templates: time 0.03274/0.6355, allocations: 20.82 MB / 0.8921 GB, free: 1.828 MB / 0.6544 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)