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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7565/0.7565, allocations: 143.4 MB / 159.2 MB, free: 4.91 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 183.1 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 447.3 MB, free: 5.836 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 102.6 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001928/0.001928, allocations: 283.1 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001473, allocations: 87.86 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3546, allocations: 81.3 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible): time 0.5518/0.9065, allocations: 170.7 MB / 0.9347 GB, free: 356 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007412/0.914, allocations: 4.303 MB / 0.9389 GB, free: 224 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.9152, allocations: 26.25 kB / 0.9389 GB, free: 220 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009742/0.9163, allocations: 271.9 kB / 0.9392 GB, free: 216 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.9193, allocations: 1.029 MB / 0.9402 GB, free: 160 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.9213, allocations: 0.5945 MB / 0.9407 GB, free: 132 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002969/0.9243, allocations: 1.901 MB / 0.9426 GB, free: 128 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006128/0.9249, allocations: 409.5 kB / 0.943 GB, free: 72 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.926, allocations: 0.5516 MB / 0.9435 GB, free: 60 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.9273, allocations: 448.2 kB / 0.944 GB, free: 60 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.9273, allocations: 23.22 kB / 0.944 GB, free: 60 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.9296, allocations: 1.365 MB / 0.9453 GB, free: 48 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.9298, allocations: 177.8 kB / 0.9455 GB, free: 44 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.9302, allocations: 294.2 kB / 0.9458 GB, free: 40 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.9318, allocations: 1.218 MB / 0.947 GB, free: 15.97 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.9318, allocations: 0 / 0.947 GB, free: 15.97 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9318, allocations: 1.203 kB / 0.947 GB, free: 15.97 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.9318, allocations: 0 / 0.947 GB, free: 15.97 MB / 0.573 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.00139/0.9332, allocations: 0.9334 MB / 0.9479 GB, free: 15.36 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.9333, allocations: 14.12 kB / 0.9479 GB, free: 15.36 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.9344, allocations: 173.2 kB / 0.948 GB, free: 15.32 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/0.9351, allocations: 0.4906 MB / 0.9485 GB, free: 15.06 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.9352, allocations: 33.72 kB / 0.9486 GB, free: 15.05 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.9352, allocations: 41.03 kB / 0.9486 GB, free: 15.05 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005862/0.9358, allocations: 384.7 kB / 0.949 GB, free: 15.01 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.9358, allocations: 3.984 kB / 0.949 GB, free: 15 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.9359, allocations: 13.56 kB / 0.949 GB, free: 15 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.9359, allocations: 13.91 kB / 0.949 GB, free: 15 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.9364, allocations: 316.6 kB / 0.9493 GB, free: 15 MB / 0.573 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.001913/0.9383, allocations: 1.642 MB / 0.9509 GB, free: 14.11 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.9387, allocations: 249 kB / 0.9511 GB, free: 14.08 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.9389, allocations: 133.4 kB / 0.9513 GB, free: 14.07 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.9391, allocations: 93.02 kB / 0.9514 GB, free: 13.98 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.9392, allocations: 44.28 kB / 0.9514 GB, free: 13.93 MB / 0.573 GB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.9392, allocations: 0 / 0.9514 GB, free: 13.93 MB / 0.573 GB Notification: Performance of matching and sorting (n=25): time 0.00082/0.94, allocations: 390.5 kB / 0.9518 GB, free: 13.88 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.94, allocations: 56.86 kB / 0.9518 GB, free: 13.81 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.9404, allocations: 421.5 kB / 0.9522 GB, free: 13.7 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.9405, allocations: 31.42 kB / 0.9523 GB, free: 13.66 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.9406, allocations: 268.5 kB / 0.9525 GB, free: 13.53 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 7.471e-05/0.9407, allocations: 93.69 kB / 0.9526 GB, free: 13.47 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.9408, allocations: 66.75 kB / 0.9527 GB, free: 13.45 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.941, allocations: 349.8 kB / 0.953 GB, free: 13.14 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.9411, allocations: 103.1 kB / 0.9531 GB, free: 13.13 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.9414, allocations: 190.1 kB / 0.9533 GB, free: 13.04 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.9418, allocations: 283.7 kB / 0.9535 GB, free: 12.96 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.9418, allocations: 0 / 0.9535 GB, free: 12.96 MB / 0.573 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005478/0.9423, allocations: 344.8 kB / 0.9539 GB, free: 12.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.9424, allocations: 12.27 kB / 0.9539 GB, free: 12.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.9424, allocations: 3.219 kB / 0.9539 GB, free: 12.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.9424, allocations: 2.844 kB / 0.9539 GB, free: 12.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.9427, allocations: 64.23 kB / 0.954 GB, free: 12.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.9427, allocations: 2.531 kB / 0.954 GB, free: 12.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.9432, allocations: 43.94 kB / 0.954 GB, free: 12.88 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.9432, allocations: 12.16 kB / 0.954 GB, free: 12.88 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002925/0.9435, allocations: 245.2 kB / 0.9542 GB, free: 12.8 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002117/0.9437, allocations: 186.5 kB / 0.9544 GB, free: 12.71 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003476/0.9441, allocations: 274.4 kB / 0.9547 GB, free: 12.64 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.323e-06/0.9441, allocations: 0 / 0.9547 GB, free: 12.64 MB / 0.573 GB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0004834/0.9446, allocations: 344.5 kB / 0.955 GB, free: 12.58 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.9446, allocations: 9.5 kB / 0.955 GB, free: 12.57 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-06/0.9446, allocations: 4.969 kB / 0.955 GB, free: 12.57 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.067e-06/0.9446, allocations: 4.406 kB / 0.955 GB, free: 12.57 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.9449, allocations: 57.36 kB / 0.9551 GB, free: 12.57 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.9449, allocations: 11.45 kB / 0.9551 GB, free: 12.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.9453, allocations: 38.81 kB / 0.9551 GB, free: 12.56 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.9453, allocations: 17.94 kB / 0.9552 GB, free: 12.56 MB / 0.573 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.0001297/0.9455, allocations: 200.5 kB / 0.9553 GB, free: 12.38 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.991e-05/0.9456, allocations: 53.16 kB / 0.9554 GB, free: 12.34 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005122/0.9461, allocations: 305.4 kB / 0.9557 GB, free: 12.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.9461, allocations: 1.938 kB / 0.9557 GB, free: 12.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9461, allocations: 0 / 0.9557 GB, free: 12.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004359/0.9465, allocations: 493.2 kB / 0.9562 GB, free: 11.95 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.9478, allocations: 0.9153 MB / 0.9571 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.9478, allocations: 7.766 kB / 0.9571 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.9481, allocations: 66.52 kB / 0.9571 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.9482, allocations: 3.375 kB / 0.9571 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.9482, allocations: 5.656 kB / 0.9571 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.9482, allocations: 2.625 kB / 0.9571 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9482, allocations: 1.844 kB / 0.9571 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003583/0.9518, allocations: 2.703 MB / 0.9598 GB, free: 10.31 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.952, allocations: 157.7 kB / 0.9599 GB, free: 10.19 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.952, allocations: 10.34 kB / 0.9599 GB, free: 10.18 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.9524, allocations: 29.58 kB / 0.96 GB, free: 10.18 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.9525, allocations: 22.69 kB / 0.96 GB, free: 10.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.9525, allocations: 10.45 kB / 0.96 GB, free: 10.18 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002854/0.9528, allocations: 297.6 kB / 0.9603 GB, free: 10.09 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9528, allocations: 0 / 0.9603 GB, free: 10.09 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001223/0.954, allocations: 415.2 kB / 0.9607 GB, free: 10.05 MB / 0.573 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.0004014/0.9545, allocations: 199.6 kB / 0.9609 GB, free: 9.938 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006558/0.9551, allocations: 389.6 kB / 0.9612 GB, free: 9.934 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.9551, allocations: 4.031 kB / 0.9612 GB, free: 9.934 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.9553, allocations: 132.1 kB / 0.9614 GB, free: 9.926 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.9568, allocations: 284.7 kB / 0.9616 GB, free: 9.906 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.9585, allocations: 1.413 MB / 0.963 GB, free: 9.035 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.9589, allocations: 0.8808 MB / 0.9639 GB, free: 8.328 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004855/0.9594, allocations: 125.3 kB / 0.964 GB, free: 8.301 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.9596, allocations: 46.23 kB / 0.964 GB, free: 8.289 MB / 0.573 GB Notification: Performance of SimCode: time 2.71e-07/0.9596, allocations: 0 / 0.964 GB, free: 8.289 MB / 0.573 GB Notification: Performance of Templates: time 0.01606/0.9756, allocations: 9.67 MB / 0.9735 GB, free: 4.203 MB / 0.573 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)