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.7839/0.7839, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001069/0.001069, allocations: 176.9 kB / 182.2 MB, free: 9.465 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.38/1.38, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0008587/0.0008587, allocations: 95.53 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001724/0.001724, allocations: 271.2 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.664e-05/1.667e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3907, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.234/4.625, allocations: 1.881 GB / 2.638 GB, free: 177.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/4.625, allocations: 91.81 kB / 2.639 GB, free: 177.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.021/5.646, allocations: 325.1 MB / 2.956 GB, free: 127.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.785e-06/5.646, allocations: 0 / 2.956 GB, free: 127.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.429e-05/5.646, allocations: 23.88 kB / 2.956 GB, free: 127.9 MB / 0.698 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.001646/5.648, allocations: 0.8101 MB / 2.957 GB, free: 127.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/5.648, allocations: 12.03 kB / 2.957 GB, free: 127.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/5.649, allocations: 171.1 kB / 2.957 GB, free: 126.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/5.65, allocations: 0.5231 MB / 2.958 GB, free: 126.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/5.65, allocations: 12 kB / 2.958 GB, free: 126.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.842e-05/5.65, allocations: 20 kB / 2.958 GB, free: 126.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004693/5.651, allocations: 269.5 kB / 2.958 GB, free: 126 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/5.651, allocations: 310 kB / 2.958 GB, free: 125.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/5.651, allocations: 0 / 2.958 GB, free: 125.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/5.651, allocations: 0 / 2.958 GB, free: 125.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/5.651, allocations: 16.77 kB / 2.958 GB, free: 125.7 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.001828/5.653, allocations: 1.531 MB / 2.96 GB, free: 124.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/5.653, allocations: 230.9 kB / 2.96 GB, free: 123.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/5.654, allocations: 121.5 kB / 2.96 GB, free: 123.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/5.654, allocations: 93.09 kB / 2.96 GB, free: 123.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/5.654, allocations: 42.56 kB / 2.96 GB, free: 123.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.863e-06/5.654, allocations: 0 / 2.96 GB, free: 123.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0005868/5.654, allocations: 275.1 kB / 2.96 GB, free: 123.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.84e-05/5.654, allocations: 51.41 kB / 2.96 GB, free: 123.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/5.655, allocations: 317.3 kB / 2.961 GB, free: 122.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/5.655, allocations: 25.7 kB / 2.961 GB, free: 122.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/5.655, allocations: 272.1 kB / 2.961 GB, free: 122.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/5.655, allocations: 82.75 kB / 2.961 GB, free: 122.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/5.655, allocations: 0 / 2.961 GB, free: 122.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.048e-05/5.655, allocations: 354.8 kB / 2.961 GB, free: 122.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/5.655, allocations: 84.53 kB / 2.962 GB, free: 122.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/5.655, allocations: 171.3 kB / 2.962 GB, free: 121.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/5.655, allocations: 105.1 kB / 2.962 GB, free: 121.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/5.656, allocations: 4 kB / 2.962 GB, free: 121.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003808/5.656, allocations: 315.4 kB / 2.962 GB, free: 121.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/5.656, allocations: 0.7032 MB / 2.963 GB, free: 120.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/5.656, allocations: 0 / 2.963 GB, free: 120.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/5.656, allocations: 7.984 kB / 2.963 GB, free: 120.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/5.656, allocations: 59.92 kB / 2.963 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/5.656, allocations: 4 kB / 2.963 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/5.657, allocations: 39.75 kB / 2.963 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/5.657, allocations: 16.06 kB / 2.963 GB, free: 120.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/5.657, allocations: 5.406 kB / 2.963 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002902/5.657, allocations: 227.8 kB / 2.963 GB, free: 120.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/5.657, allocations: 4 kB / 2.963 GB, free: 120.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-06/5.657, allocations: 7.938 kB / 2.963 GB, free: 120.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/5.657, allocations: 68.02 kB / 2.963 GB, free: 120.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/5.657, allocations: 3.953 kB / 2.963 GB, free: 120.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/5.658, allocations: 39.72 kB / 2.963 GB, free: 120.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/5.658, allocations: 12 kB / 2.963 GB, free: 120.2 MB / 0.698 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 () * 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 7.516e-05/5.658, allocations: 112.9 kB / 2.963 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/5.658, allocations: 39.53 kB / 2.963 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003717/5.658, allocations: 273.2 kB / 2.964 GB, free: 119.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/5.658, allocations: 0 / 2.964 GB, free: 119.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/5.658, allocations: 0 / 2.964 GB, free: 119.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002782/5.659, allocations: 474.5 kB / 2.964 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008617/5.66, allocations: 0.8212 MB / 2.965 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/5.66, allocations: 0 / 2.965 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/5.66, allocations: 75.89 kB / 2.965 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/5.66, allocations: 0 / 2.965 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/5.66, allocations: 7.953 kB / 2.965 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/5.66, allocations: 4 kB / 2.965 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/5.66, allocations: 0 / 2.965 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004918/5.66, allocations: 0.5585 MB / 2.966 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/5.661, allocations: 144.5 kB / 2.966 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/5.661, allocations: 8 kB / 2.966 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/5.661, allocations: 19.97 kB / 2.966 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/5.661, allocations: 19.94 kB / 2.966 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/5.661, allocations: 15.98 kB / 2.966 GB, free: 117.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001858/5.661, allocations: 247 kB / 2.966 GB, free: 117.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/5.661, allocations: 0 / 2.966 GB, free: 117.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008385/5.662, allocations: 327.2 kB / 2.966 GB, free: 116.9 MB / 0.698 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 () * 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.001209/5.663, allocations: 1.174 MB / 2.967 GB, free: 115.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004443/5.664, allocations: 363.5 kB / 2.968 GB, free: 115.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/5.664, allocations: 3.938 kB / 2.968 GB, free: 115.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/5.664, allocations: 111.8 kB / 2.968 GB, free: 115.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/5.665, allocations: 262.7 kB / 2.968 GB, free: 115.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/5.666, allocations: 0.7457 MB / 2.969 GB, free: 114.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/5.666, allocations: 0.8901 MB / 2.97 GB, free: 113.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005315/5.667, allocations: 152.1 kB / 2.97 GB, free: 113.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.224e-05/5.667, allocations: 31.44 kB / 2.97 GB, free: 113.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/5.667, allocations: 4 kB / 2.97 GB, free: 113.2 MB / 0.698 GB Notification: Performance of Templates: time 0.01848/5.686, allocations: 14.16 MB / 2.984 GB, free: 99.2 MB / 0.698 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)