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.001485/0.001491, allocations: 111.2 kB / 16.42 MB, free: 6.484 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.001474/0.001474, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00211/0.002111, allocations: 294 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.018/1.018, allocations: 169.2 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 95.84 kB / 0.6821 GB, free: 7.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4679, allocations: 86.98 MB / 0.767 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible): time 0.1853/0.6532, allocations: 173 MB / 0.936 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007117/0.6604, allocations: 4.256 MB / 0.9402 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009201/0.6613, allocations: 23.88 kB / 0.9402 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.6625, allocations: 338 kB / 0.9405 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003188/0.6657, allocations: 1.14 MB / 0.9416 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.6677, allocations: 0.6638 MB / 0.9423 GB, free: 16 kB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002104/0.6698, allocations: 1.433 MB / 0.9437 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008027/0.6706, allocations: 467.5 kB / 0.9441 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.672, allocations: 0.6445 MB / 0.9447 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.6733, allocations: 440.3 kB / 0.9452 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.6735, allocations: 44 kB / 0.9452 GB, free: 13 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.6759, allocations: 1.22 MB / 0.9464 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003303/0.6763, allocations: 207.3 kB / 0.9466 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004961/0.6768, allocations: 310.5 kB / 0.9469 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002533/0.6793, allocations: 1.192 MB / 0.948 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6793, allocations: 0 / 0.948 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.986e-06/0.6793, allocations: 0 / 0.948 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.772e-05/0.6794, allocations: 3.938 kB / 0.9481 GB, free: 10.07 MB / 0.7169 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.002053/0.6814, allocations: 0.9462 MB / 0.949 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.6815, allocations: 8.031 kB / 0.949 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.6828, allocations: 179.1 kB / 0.9492 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/0.6838, allocations: 0.513 MB / 0.9497 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.6838, allocations: 29 kB / 0.9497 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.527e-05/0.6839, allocations: 40 kB / 0.9497 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007165/0.6846, allocations: 390.4 kB / 0.9501 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.6847, allocations: 0 / 0.9501 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/0.6847, allocations: 16 kB / 0.9501 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.6847, allocations: 17 kB / 0.9501 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005729/0.6853, allocations: 315.8 kB / 0.9504 GB, free: 7.547 MB / 0.7169 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.002305/0.6876, allocations: 1.637 MB / 0.952 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/0.6881, allocations: 246.9 kB / 0.9523 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.6883, allocations: 132.8 kB / 0.9524 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/0.6885, allocations: 101 kB / 0.9525 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.6885, allocations: 34.56 kB / 0.9525 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.753e-06/0.6885, allocations: 0 / 0.9525 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.0008911/0.6894, allocations: 400.8 kB / 0.9529 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.6895, allocations: 51.41 kB / 0.9529 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/0.6899, allocations: 429.9 kB / 0.9534 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.69, allocations: 33.7 kB / 0.9534 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.6902, allocations: 271.8 kB / 0.9536 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.611e-05/0.6903, allocations: 90.73 kB / 0.9537 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.6904, allocations: 61.89 kB / 0.9538 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6905, allocations: 358.8 kB / 0.9541 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.6907, allocations: 109.9 kB / 0.9542 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.691, allocations: 174.8 kB / 0.9544 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.6914, allocations: 292.3 kB / 0.9547 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6914, allocations: 4 kB / 0.9547 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005773/0.692, allocations: 340.9 kB / 0.955 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.692, allocations: 4 kB / 0.955 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.692, allocations: 4 kB / 0.955 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.6921, allocations: 4 kB / 0.955 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.6924, allocations: 56.12 kB / 0.9551 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.6924, allocations: 8 kB / 0.9551 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/0.6928, allocations: 35.73 kB / 0.9551 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.6929, allocations: 8 kB / 0.9551 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003156/0.6932, allocations: 256.3 kB / 0.9554 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002383/0.6934, allocations: 181.9 kB / 0.9555 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003846/0.6938, allocations: 277 kB / 0.9558 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.6938, allocations: 0 / 0.9558 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0005321/0.6944, allocations: 340.8 kB / 0.9561 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.6944, allocations: 11.94 kB / 0.9561 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/0.6944, allocations: 224 / 0.9561 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.6944, allocations: 8 kB / 0.9562 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.6947, allocations: 59.91 kB / 0.9562 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.6947, allocations: 0 / 0.9562 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.6951, allocations: 35.73 kB / 0.9562 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.6952, allocations: 8 kB / 0.9563 GB, free: 1.203 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.6953, allocations: 200.1 kB / 0.9564 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.751e-05/0.6954, allocations: 51.38 kB / 0.9565 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005408/0.6959, allocations: 320.6 kB / 0.9568 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004805/0.6964, allocations: 494.6 kB / 0.9573 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6964, allocations: 0 / 0.9573 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4656/1.162, allocations: 144.2 kB / 0.9574 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.118e-05/1.162, allocations: 6.688 kB / 0.9574 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/1.163, allocations: 12.08 kB / 0.9574 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/1.163, allocations: 15.72 kB / 0.9574 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001007/1.164, allocations: 392.5 kB / 0.9578 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000964/1.165, allocations: 0.6014 MB / 0.9584 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002475/1.165, allocations: 115.9 kB / 0.9585 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004635/1.165, allocations: 303.3 kB / 0.9588 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of Backend: time 4.91e-07/1.165, allocations: 0 / 0.9588 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002066/1.168, allocations: 0.6378 MB / 0.9594 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of SimCode: time 0.002644/1.17, allocations: 1.596 MB / 0.961 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.01962/1.19, allocations: 12.5 MB / 0.9732 GB, free: 183.5 MB / 0.7169 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)