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.001398/0.001398, allocations: 105.1 kB / 16.41 MB, free: 6.453 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.001552/0.001552, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.383/1.383, allocations: 222.9 MB / 241 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.002134/0.002134, allocations: 290.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9337/0.9337, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 95.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5743/0.5764, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible): time 0.1995/0.7759, allocations: 173 MB / 0.936 GB, free: 6.25 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007547/0.7835, allocations: 4.256 MB / 0.9401 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.7846, allocations: 23.88 kB / 0.9402 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.7857, allocations: 322 kB / 0.9405 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003004/0.7887, allocations: 1.101 MB / 0.9415 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.7907, allocations: 0.669 MB / 0.9422 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001995/0.7927, allocations: 1.426 MB / 0.9436 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006712/0.7933, allocations: 463.5 kB / 0.944 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.7946, allocations: 0.6367 MB / 0.9447 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.7958, allocations: 448.2 kB / 0.9451 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.374e-05/0.7959, allocations: 48 kB / 0.9451 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.7982, allocations: 1.216 MB / 0.9463 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.7985, allocations: 203.3 kB / 0.9465 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.7988, allocations: 318.5 kB / 0.9468 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.8006, allocations: 1.196 MB / 0.948 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.8007, allocations: 4 kB / 0.948 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8007, allocations: 3.938 kB / 0.948 GB, free: 9.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.8007, allocations: 0 / 0.948 GB, free: 9.93 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.001478/0.8022, allocations: 0.9346 MB / 0.9489 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.8022, allocations: 12.03 kB / 0.9489 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.8033, allocations: 171.1 kB / 0.9491 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008049/0.8041, allocations: 0.5246 MB / 0.9496 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.8042, allocations: 29 kB / 0.9496 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.847e-05/0.8043, allocations: 40 kB / 0.9497 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.8049, allocations: 390.4 kB / 0.95 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.805, allocations: 0 / 0.95 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.805, allocations: 16 kB / 0.95 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.8051, allocations: 13 kB / 0.9501 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005455/0.8056, allocations: 319.7 kB / 0.9504 GB, free: 7.41 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.002169/0.8078, allocations: 1.629 MB / 0.952 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.8082, allocations: 257.3 kB / 0.9522 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.8084, allocations: 124.8 kB / 0.9523 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.8086, allocations: 105 kB / 0.9524 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.8087, allocations: 34.56 kB / 0.9525 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.8087, allocations: 0 / 0.9525 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.0008519/0.8095, allocations: 392.8 kB / 0.9528 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.8096, allocations: 55.41 kB / 0.9529 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.8101, allocations: 425.9 kB / 0.9533 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.8101, allocations: 33.64 kB / 0.9533 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.8103, allocations: 271.9 kB / 0.9536 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.062e-05/0.8104, allocations: 94.67 kB / 0.9537 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.95e-05/0.8105, allocations: 61.89 kB / 0.9537 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.8107, allocations: 358.8 kB / 0.9541 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.8109, allocations: 97.94 kB / 0.9542 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.8111, allocations: 182.8 kB / 0.9543 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.8116, allocations: 286.7 kB / 0.9546 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8116, allocations: 0 / 0.9546 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005467/0.8121, allocations: 342.8 kB / 0.9549 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.8121, allocations: 15.19 kB / 0.9549 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.8122, allocations: 3.938 kB / 0.955 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.8122, allocations: 4 kB / 0.955 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.8125, allocations: 63.91 kB / 0.955 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.8125, allocations: 4 kB / 0.955 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.8129, allocations: 27.73 kB / 0.955 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.8129, allocations: 12 kB / 0.9551 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003415/0.8133, allocations: 259.5 kB / 0.9553 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000226/0.8135, allocations: 181.9 kB / 0.9555 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004037/0.8139, allocations: 281 kB / 0.9557 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.8139, allocations: 0 / 0.9557 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0005251/0.8144, allocations: 345.6 kB / 0.9561 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.8145, allocations: 7.938 kB / 0.9561 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.8145, allocations: 4 kB / 0.9561 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-06/0.8145, allocations: 0 / 0.9561 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.8147, allocations: 63.91 kB / 0.9562 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.8147, allocations: 4 kB / 0.9562 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.8151, allocations: 27.77 kB / 0.9562 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.8151, allocations: 12.19 kB / 0.9562 GB, free: 1.066 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.0001396/0.8153, allocations: 200.2 kB / 0.9564 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-05/0.8154, allocations: 55.31 kB / 0.9564 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005384/0.8159, allocations: 305.4 kB / 0.9567 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.8159, allocations: 0 / 0.9567 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8159, allocations: 4 kB / 0.9567 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5041/1.32, allocations: 485.8 kB / 0.9572 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/1.322, allocations: 0.9131 MB / 0.9581 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.322, allocations: 1.188 kB / 0.9581 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/1.322, allocations: 71.34 kB / 0.9582 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/1.322, allocations: 3.438 kB / 0.9582 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/1.322, allocations: 4.781 kB / 0.9582 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/1.322, allocations: 2.312 kB / 0.9582 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/1.322, allocations: 7.047 kB / 0.9582 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008843/1.323, allocations: 0.5475 MB / 0.9587 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/1.324, allocations: 152.8 kB / 0.9589 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/1.324, allocations: 7.812 kB / 0.9589 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/1.324, allocations: 13.7 kB / 0.9589 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/1.324, allocations: 18 kB / 0.9589 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/1.324, allocations: 12.23 kB / 0.9589 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004513/1.325, allocations: 299.8 kB / 0.9592 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.51e-07/1.325, allocations: 7.438 kB / 0.9592 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001012/1.326, allocations: 264.4 kB / 0.9594 GB, free: 190.2 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004957/1.326, allocations: 170.2 kB / 0.9596 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009/1.327, allocations: 402.5 kB / 0.96 GB, free: 190 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.327, allocations: 0.9688 kB / 0.96 GB, free: 190 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/1.327, allocations: 126.2 kB / 0.9601 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/1.329, allocations: 289.9 kB / 0.9604 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/1.33, allocations: 1.059 MB / 0.9614 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/1.331, allocations: 0.8698 MB / 0.9623 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/1.331, allocations: 45.98 kB / 0.9623 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of SimCode: time 8.21e-07/1.331, allocations: 0 / 0.9623 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.01275/1.344, allocations: 7.867 MB / 0.97 GB, free: 186.1 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)