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.7367/0.7367, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009554/0.0009555, allocations: 178.8 kB / 187.3 MB, free: 11.9 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.409/1.409, allocations: 221.3 MB / 441.4 MB, free: 4.668 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.001062/0.001062, allocations: 103.8 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001853, allocations: 279.9 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.984e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4412, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.561/5.002, allocations: 1.882 GB / 2.646 GB, free: 165.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/5.002, allocations: 84.89 kB / 2.646 GB, free: 165.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.093/6.095, allocations: 328.8 MB / 2.967 GB, free: 109.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.353e-06/6.095, allocations: 0 / 2.967 GB, free: 109.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.346e-05/6.096, allocations: 19.94 kB / 2.967 GB, free: 109.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.001602/6.097, allocations: 0.8184 MB / 2.968 GB, free: 109.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/6.097, allocations: 8.031 kB / 2.968 GB, free: 109 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/6.098, allocations: 171.1 kB / 2.968 GB, free: 108.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009523/6.099, allocations: 0.5142 MB / 2.969 GB, free: 108.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/6.099, allocations: 32.72 kB / 2.969 GB, free: 108.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-05/6.1, allocations: 43.94 kB / 2.969 GB, free: 108.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/6.1, allocations: 359.6 kB / 2.969 GB, free: 107.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/6.1, allocations: 0 / 2.969 GB, free: 107.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/6.1, allocations: 16 kB / 2.969 GB, free: 107.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/6.1, allocations: 12.78 kB / 2.969 GB, free: 107.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/6.101, allocations: 287 kB / 2.969 GB, free: 107.6 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.001884/6.103, allocations: 1.619 MB / 2.971 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/6.103, allocations: 239.8 kB / 2.971 GB, free: 105.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/6.103, allocations: 124.8 kB / 2.971 GB, free: 105.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/6.103, allocations: 101.5 kB / 2.971 GB, free: 105.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/6.103, allocations: 42.5 kB / 2.971 GB, free: 105.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/6.103, allocations: 0 / 2.971 GB, free: 105.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0005841/6.104, allocations: 288 kB / 2.972 GB, free: 105 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/6.104, allocations: 55.34 kB / 2.972 GB, free: 104.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/6.104, allocations: 367.1 kB / 2.972 GB, free: 104.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/6.104, allocations: 33.7 kB / 2.972 GB, free: 104.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/6.105, allocations: 264 kB / 2.972 GB, free: 104.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/6.105, allocations: 86.73 kB / 2.973 GB, free: 104.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/6.105, allocations: 8 kB / 2.973 GB, free: 104.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.603e-05/6.105, allocations: 350.8 kB / 2.973 GB, free: 103.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/6.105, allocations: 88.55 kB / 2.973 GB, free: 103.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/6.105, allocations: 183.6 kB / 2.973 GB, free: 103.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/6.105, allocations: 117.1 kB / 2.973 GB, free: 103.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/6.105, allocations: 7.938 kB / 2.973 GB, free: 103.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003969/6.106, allocations: 338.7 kB / 2.974 GB, free: 103 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/6.106, allocations: 0.7006 MB / 2.974 GB, free: 102.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/6.106, allocations: 0 / 2.974 GB, free: 102.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/6.106, allocations: 7.938 kB / 2.974 GB, free: 102.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/6.106, allocations: 59.91 kB / 2.974 GB, free: 102.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/6.106, allocations: 4 kB / 2.974 GB, free: 102.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004367/6.107, allocations: 55.72 kB / 2.974 GB, free: 102.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/6.107, allocations: 16 kB / 2.974 GB, free: 102.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/6.107, allocations: 7.938 kB / 2.974 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003293/6.107, allocations: 259.9 kB / 2.975 GB, free: 101.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/6.107, allocations: 0 / 2.975 GB, free: 101.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/6.107, allocations: 7.953 kB / 2.975 GB, free: 101.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/6.107, allocations: 59.92 kB / 2.975 GB, free: 101.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/6.107, allocations: 11.92 kB / 2.975 GB, free: 101.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/6.108, allocations: 43.8 kB / 2.975 GB, free: 101.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/6.108, allocations: 8 kB / 2.975 GB, free: 101.8 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.902e-05/6.108, allocations: 124.9 kB / 2.975 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/6.108, allocations: 51.42 kB / 2.975 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004081/6.108, allocations: 281.2 kB / 2.975 GB, free: 101.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/6.108, allocations: 7.953 kB / 2.975 GB, free: 101.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/6.108, allocations: 3.984 kB / 2.975 GB, free: 101.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003206/6.109, allocations: 482.5 kB / 2.976 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009965/6.11, allocations: 0.8953 MB / 2.977 GB, free: 99.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/6.11, allocations: 0 / 2.977 GB, free: 99.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/6.11, allocations: 71.91 kB / 2.977 GB, free: 99.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.123e-05/6.11, allocations: 7.984 kB / 2.977 GB, free: 99.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/6.11, allocations: 12.12 kB / 2.977 GB, free: 99.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/6.11, allocations: 0 / 2.977 GB, free: 99.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/6.11, allocations: 0 / 2.977 GB, free: 99.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/6.11, allocations: 0.5804 MB / 2.977 GB, free: 99.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/6.111, allocations: 148.5 kB / 2.977 GB, free: 98.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/6.111, allocations: 8 kB / 2.977 GB, free: 98.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/6.111, allocations: 35.91 kB / 2.977 GB, free: 98.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/6.111, allocations: 27.86 kB / 2.977 GB, free: 98.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/6.111, allocations: 15.98 kB / 2.977 GB, free: 98.81 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002394/6.111, allocations: 289.2 kB / 2.978 GB, free: 98.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/6.111, allocations: 0 / 2.978 GB, free: 98.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009485/6.112, allocations: 351.4 kB / 2.978 GB, free: 98.19 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.001241/6.114, allocations: 1.031 MB / 2.979 GB, free: 97.15 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000542/6.114, allocations: 388.3 kB / 2.979 GB, free: 96.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/6.114, allocations: 4 kB / 2.979 GB, free: 96.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/6.114, allocations: 115.8 kB / 2.98 GB, free: 96.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/6.116, allocations: 292.6 kB / 2.98 GB, free: 96.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/6.117, allocations: 0.7784 MB / 2.981 GB, free: 95.56 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/6.117, allocations: 0.8867 MB / 2.981 GB, free: 94.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006128/6.118, allocations: 168.2 kB / 2.982 GB, free: 94.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.505e-05/6.118, allocations: 31.44 kB / 2.982 GB, free: 94.45 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/6.118, allocations: 0 / 2.982 GB, free: 94.45 MB / 0.698 GB Notification: Performance of Templates: time 0.02882/6.147, allocations: 24.19 MB / 3.005 GB, free: 70.32 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)