Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.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.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible") translateModel(BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009323/0.0009321, allocations: 86.36 kB / 15.06 MB, free: 1.082 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.001116/0.001116, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00188/0.00188, allocations: 267 kB / 291.3 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.964/0.964, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004264, allocations: 19.19 kB / 0.598 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2046, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible): time 0.5001/0.7047, allocations: 157.2 MB / 0.838 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006339/0.7111, allocations: 3.978 MB / 0.8419 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008591/0.712, allocations: 20.19 kB / 0.8419 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000832/0.7129, allocations: 220.2 kB / 0.8421 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.7154, allocations: 0.8069 MB / 0.8429 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.717, allocations: 0.5085 MB / 0.8434 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002032/0.719, allocations: 1.618 MB / 0.845 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006157/0.7197, allocations: 341.1 kB / 0.8453 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.721, allocations: 0.5179 MB / 0.8458 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000776/0.7218, allocations: 408.7 kB / 0.8462 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.637e-05/0.7218, allocations: 18.81 kB / 0.8462 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.7238, allocations: 0.7689 MB / 0.847 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.724, allocations: 164.7 kB / 0.8471 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.7242, allocations: 137.5 kB / 0.8473 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.7253, allocations: 0.8052 MB / 0.8481 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7253, allocations: 0 / 0.8481 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7253, allocations: 0 / 0.8481 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.7253, allocations: 0 / 0.8481 GB, free: 1.09 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0014/0.7267, allocations: 0.8394 MB / 0.8489 GB, free: 388 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.7268, allocations: 7.75 kB / 0.8489 GB, free: 388 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.7279, allocations: 175 kB / 0.8491 GB, free: 308 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007685/0.7287, allocations: 497 kB / 0.8495 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.7287, allocations: 30.77 kB / 0.8496 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.7288, allocations: 39.91 kB / 0.8496 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006731/0.7295, allocations: 387.8 kB / 0.85 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.7295, allocations: 0 / 0.85 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.7296, allocations: 15.28 kB / 0.85 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/0.7296, allocations: 14.34 kB / 0.85 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005311/0.7302, allocations: 317.7 kB / 0.8503 GB, free: 15.47 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.002097/0.7323, allocations: 1.642 MB / 0.8519 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.7327, allocations: 243.1 kB / 0.8521 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.7329, allocations: 143 kB / 0.8523 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.7331, allocations: 96.84 kB / 0.8524 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.7331, allocations: 34.56 kB / 0.8524 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/0.7331, allocations: 6.625 kB / 0.8524 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.0008526/0.734, allocations: 395.3 kB / 0.8528 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.734, allocations: 53.91 kB / 0.8528 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.7345, allocations: 429 kB / 0.8532 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.7345, allocations: 31.92 kB / 0.8533 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.7347, allocations: 266.4 kB / 0.8535 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/0.7348, allocations: 89.61 kB / 0.8536 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.7348, allocations: 8 kB / 0.8536 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.735, allocations: 353.6 kB / 0.8539 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.7352, allocations: 97.78 kB / 0.854 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.7354, allocations: 178.1 kB / 0.8542 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.7356, allocations: 132 kB / 0.8543 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.7357, allocations: 2.938 kB / 0.8543 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000529/0.7362, allocations: 351.4 kB / 0.8547 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.559e-05/0.7363, allocations: 146.2 kB / 0.8548 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.7363, allocations: 2.938 kB / 0.8548 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.7363, allocations: 6.719 kB / 0.8548 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.7366, allocations: 62.41 kB / 0.8549 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.7366, allocations: 2.75 kB / 0.8549 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004282/0.7371, allocations: 53.59 kB / 0.8549 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.7371, allocations: 7.875 kB / 0.8549 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/0.7371, allocations: 3.188 kB / 0.8549 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004292/0.7376, allocations: 277.2 kB / 0.8552 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.7376, allocations: 3.969 kB / 0.8552 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-06/0.7376, allocations: 2.938 kB / 0.8552 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.7378, allocations: 62.25 kB / 0.8553 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.7379, allocations: 6.859 kB / 0.8553 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.7382, allocations: 45.12 kB / 0.8553 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.7383, allocations: 17.27 kB / 0.8553 GB, free: 11.59 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002563/0.7385, allocations: 268.2 kB / 0.8556 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.7386, allocations: 48.14 kB / 0.8556 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005232/0.7391, allocations: 315.7 kB / 0.8559 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.7392, allocations: 5.25 kB / 0.856 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7392, allocations: 7.891 kB / 0.856 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005098/0.7397, allocations: 492.3 kB / 0.8564 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.7409, allocations: 0.9212 MB / 0.8573 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7409, allocations: 0 / 0.8573 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.7413, allocations: 70.89 kB / 0.8574 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.7413, allocations: 2.156 kB / 0.8574 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.7413, allocations: 10.95 kB / 0.8574 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.7413, allocations: 6.969 kB / 0.8574 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7413, allocations: 2.906 kB / 0.8574 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007134/0.7421, allocations: 0.5462 MB / 0.858 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.7422, allocations: 149.2 kB / 0.8581 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.7423, allocations: 15.03 kB / 0.8581 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/0.7427, allocations: 25.61 kB / 0.8581 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.7427, allocations: 15.83 kB / 0.8581 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.7427, allocations: 16.98 kB / 0.8582 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000317/0.7431, allocations: 293.7 kB / 0.8584 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7431, allocations: 0 / 0.8584 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008027/0.7439, allocations: 264.9 kB / 0.8587 GB, free: 9.152 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004295/0.7443, allocations: 183.5 kB / 0.8589 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007064/0.745, allocations: 394.3 kB / 0.8592 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.745, allocations: 2.969 kB / 0.8593 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.7453, allocations: 127.9 kB / 0.8594 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.7466, allocations: 287.7 kB / 0.8596 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.7484, allocations: 1.294 MB / 0.8609 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.7489, allocations: 0.8696 MB / 0.8618 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000491/0.7494, allocations: 130.1 kB / 0.8619 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.7495, allocations: 41.17 kB / 0.8619 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.7495, allocations: 0 / 0.8619 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.01649/0.766, allocations: 8.629 MB / 0.8704 GB, free: 1.586 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.sim & ./BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe 2>&1)