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.001472/0.001472, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001563/0.001563, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002144/0.002144, allocations: 291.5 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 0.9253/0.9253, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 99.84 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5722/0.5739, allocations: 86.97 MB / 0.767 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible): time 0.1896/0.7636, allocations: 173 MB / 0.936 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007307/0.771, allocations: 4.26 MB / 0.9402 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009504/0.7719, allocations: 23.88 kB / 0.9402 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.7731, allocations: 322 kB / 0.9405 GB, free: 1.832 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003/0.7761, allocations: 1.101 MB / 0.9416 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.7779, allocations: 0.6771 MB / 0.9422 GB, free: 56 kB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001965/0.7799, allocations: 1.418 MB / 0.9436 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006809/0.7806, allocations: 463.5 kB / 0.944 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.7818, allocations: 0.6367 MB / 0.9447 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.7829, allocations: 447.6 kB / 0.9451 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.579e-05/0.783, allocations: 48 kB / 0.9451 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.7854, allocations: 1.216 MB / 0.9463 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.7856, allocations: 203.3 kB / 0.9465 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.786, allocations: 314.5 kB / 0.9468 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.7878, allocations: 1.196 MB / 0.948 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7878, allocations: 0 / 0.948 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7878, allocations: 0 / 0.948 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.7878, allocations: 0 / 0.948 GB, free: 10.13 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.001457/0.7893, allocations: 0.9346 MB / 0.9489 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.7893, allocations: 15.97 kB / 0.9489 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.7906, allocations: 179.1 kB / 0.9491 GB, free: 8.953 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007685/0.7914, allocations: 0.5168 MB / 0.9496 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.7914, allocations: 29 kB / 0.9496 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.7915, allocations: 40 kB / 0.9497 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007318/0.7922, allocations: 382.4 kB / 0.95 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.7922, allocations: 4 kB / 0.95 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.7923, allocations: 12 kB / 0.95 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.7923, allocations: 21 kB / 0.9501 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005777/0.7929, allocations: 315.7 kB / 0.9504 GB, free: 7.609 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.002116/0.795, allocations: 1.637 MB / 0.952 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/0.7955, allocations: 260.3 kB / 0.9522 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.7957, allocations: 132.7 kB / 0.9523 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002095/0.7959, allocations: 105 kB / 0.9524 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.796, allocations: 34.56 kB / 0.9525 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/0.796, allocations: 0 / 0.9525 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.0009117/0.7969, allocations: 392.8 kB / 0.9528 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.797, allocations: 55.41 kB / 0.9529 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.7975, allocations: 429.9 kB / 0.9533 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.7975, allocations: 29.7 kB / 0.9533 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.7977, allocations: 263.9 kB / 0.9536 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.609e-05/0.7978, allocations: 90.69 kB / 0.9537 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.7979, allocations: 69.83 kB / 0.9537 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.7981, allocations: 358.8 kB / 0.9541 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.7983, allocations: 97.94 kB / 0.9542 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.7986, allocations: 186.7 kB / 0.9543 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.799, allocations: 278.7 kB / 0.9546 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.799, allocations: 0 / 0.9546 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005634/0.7996, allocations: 342.8 kB / 0.9549 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.7996, allocations: 8 kB / 0.9549 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7997, allocations: 3.938 kB / 0.955 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.7997, allocations: 4.219 kB / 0.955 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.8, allocations: 67.91 kB / 0.955 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.8, allocations: 4 kB / 0.955 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/0.8004, allocations: 27.73 kB / 0.9551 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.8005, allocations: 16 kB / 0.9551 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003381/0.8008, allocations: 251.5 kB / 0.9553 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000233/0.801, allocations: 178 kB / 0.9555 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004042/0.8015, allocations: 281 kB / 0.9557 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.452e-06/0.8015, allocations: 4 kB / 0.9557 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0005249/0.802, allocations: 337.5 kB / 0.9561 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.802, allocations: 16.16 kB / 0.9561 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/0.802, allocations: 0 / 0.9561 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-06/0.802, allocations: 4 kB / 0.9561 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.8023, allocations: 63.91 kB / 0.9562 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.8023, allocations: 4 kB / 0.9562 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/0.8027, allocations: 23.83 kB / 0.9562 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.8027, allocations: 16 kB / 0.9562 GB, free: 1.262 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.000144/0.8029, allocations: 196.1 kB / 0.9564 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.48e-05/0.803, allocations: 55.38 kB / 0.9564 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005771/0.8036, allocations: 309.3 kB / 0.9567 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005044/0.8041, allocations: 490.6 kB / 0.9572 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8041, allocations: 3.938 kB / 0.9572 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4133/1.217, allocations: 150.6 kB / 0.9573 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/1.218, allocations: 6.734 kB / 0.9573 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006989/1.218, allocations: 8.875 kB / 0.9574 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/1.218, allocations: 22.44 kB / 0.9574 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001406/1.22, allocations: 393.9 kB / 0.9578 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001381/1.221, allocations: 0.5981 MB / 0.9583 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000341/1.222, allocations: 119.2 kB / 0.9585 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006942/1.222, allocations: 299.2 kB / 0.9587 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of Backend: time 8.61e-07/1.222, allocations: 0.75 kB / 0.9587 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002899/1.225, allocations: 0.6388 MB / 0.9594 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003158/1.228, allocations: 1.591 MB / 0.9609 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.02043/1.249, allocations: 12.5 MB / 0.9731 GB, free: 183.4 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)