Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.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.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7691/0.7691, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001034/0.001034, allocations: 185.8 kB / 187.3 MB, free: 11.88 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.462/1.462, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0009977/0.0009978, allocations: 90.28 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001764/0.001764, allocations: 259.9 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.962e-05/3.964e-05, allocations: 11.98 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4693/0.4693, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.686/5.155, allocations: 1.876 GB / 2.64 GB, free: 131.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/5.155, allocations: 92.77 kB / 2.64 GB, free: 131 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.985/7.141, allocations: 0.6114 GB / 3.252 GB, free: 54.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.182e-06/7.141, allocations: 0 / 3.252 GB, free: 54.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.692e-05/7.141, allocations: 24 kB / 3.252 GB, free: 54.48 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002581/7.143, allocations: 1.277 MB / 3.253 GB, free: 53.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/7.143, allocations: 8.031 kB / 3.253 GB, free: 53.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/7.146, allocations: 238.4 kB / 3.253 GB, free: 52.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/7.147, allocations: 0.9963 MB / 3.254 GB, free: 51.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/7.147, allocations: 45 kB / 3.254 GB, free: 51.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/7.147, allocations: 67.86 kB / 3.254 GB, free: 51.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008755/7.148, allocations: 0.5726 MB / 3.255 GB, free: 51.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/7.148, allocations: 0 / 3.255 GB, free: 51.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/7.148, allocations: 20 kB / 3.255 GB, free: 51.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/7.148, allocations: 21 kB / 3.255 GB, free: 51.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007638/7.149, allocations: 0.5544 MB / 3.255 GB, free: 50.57 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.003708/7.153, allocations: 2.74 MB / 3.258 GB, free: 47.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000741/7.154, allocations: 0.522 MB / 3.259 GB, free: 47.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/7.154, allocations: 309.8 kB / 3.259 GB, free: 46.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003284/7.154, allocations: 299.2 kB / 3.259 GB, free: 46.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/7.154, allocations: 39.28 kB / 3.259 GB, free: 46.46 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009405/7.155, allocations: 223.5 kB / 3.259 GB, free: 46.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=44): time 2.305e-06/7.155, allocations: 0 / 3.259 GB, free: 46.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=44): time 0.001245/7.157, allocations: 0.6835 MB / 3.26 GB, free: 45.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/7.157, allocations: 59.34 kB / 3.26 GB, free: 45.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/7.158, allocations: 1.087 MB / 3.261 GB, free: 44.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.328e-05/7.158, allocations: 37.7 kB / 3.261 GB, free: 44.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/7.158, allocations: 444.4 kB / 3.262 GB, free: 43.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/7.158, allocations: 161.6 kB / 3.262 GB, free: 43.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/7.158, allocations: 8 kB / 3.262 GB, free: 43.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/7.159, allocations: 318 kB / 3.262 GB, free: 43.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/7.159, allocations: 228.6 kB / 3.262 GB, free: 43.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/7.159, allocations: 450.3 kB / 3.263 GB, free: 42.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/7.16, allocations: 295.1 kB / 3.263 GB, free: 42.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/7.16, allocations: 0 / 3.263 GB, free: 42.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009813/7.161, allocations: 0.6639 MB / 3.264 GB, free: 41.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.205e-05/7.161, allocations: 100.5 kB / 3.264 GB, free: 41.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/7.161, allocations: 3.938 kB / 3.264 GB, free: 41.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/7.161, allocations: 0 / 3.264 GB, free: 41.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/7.162, allocations: 135.8 kB / 3.264 GB, free: 41.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/7.162, allocations: 0 / 3.264 GB, free: 41.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/7.163, allocations: 115.9 kB / 3.264 GB, free: 41.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-05/7.163, allocations: 31.97 kB / 3.264 GB, free: 41.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/7.163, allocations: 4 kB / 3.264 GB, free: 41.31 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007721/7.164, allocations: 0.5425 MB / 3.265 GB, free: 40.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/7.164, allocations: 0 / 3.265 GB, free: 40.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.11e-06/7.164, allocations: 4 kB / 3.265 GB, free: 40.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/7.164, allocations: 139.8 kB / 3.265 GB, free: 40.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/7.164, allocations: 0 / 3.265 GB, free: 40.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/7.166, allocations: 123.7 kB / 3.265 GB, free: 40.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/7.166, allocations: 27.97 kB / 3.265 GB, free: 40.48 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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 0.0001544/7.166, allocations: 128.9 kB / 3.265 GB, free: 40.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/7.166, allocations: 102.7 kB / 3.265 GB, free: 40.24 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/7.167, allocations: 0.7599 MB / 3.266 GB, free: 39.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/7.167, allocations: 4 kB / 3.266 GB, free: 39.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/7.167, allocations: 3.953 kB / 3.266 GB, free: 39.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/7.167, allocations: 0 / 3.266 GB, free: 39.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/7.17, allocations: 1.909 MB / 3.268 GB, free: 37.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/7.17, allocations: 4 kB / 3.268 GB, free: 37.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/7.17, allocations: 124.1 kB / 3.268 GB, free: 37.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/7.17, allocations: 4 kB / 3.268 GB, free: 37.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.214e-05/7.17, allocations: 23.92 kB / 3.268 GB, free: 37.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/7.17, allocations: 4 kB / 3.268 GB, free: 37.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/7.17, allocations: 0 / 3.268 GB, free: 37.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/7.172, allocations: 1.247 MB / 3.269 GB, free: 35.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004551/7.172, allocations: 303.7 kB / 3.269 GB, free: 35.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/7.172, allocations: 24.06 kB / 3.269 GB, free: 35.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009557/7.173, allocations: 83.8 kB / 3.269 GB, free: 35.56 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/7.173, allocations: 43.84 kB / 3.27 GB, free: 35.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/7.173, allocations: 27.98 kB / 3.27 GB, free: 35.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009947/7.174, allocations: 0.8514 MB / 3.27 GB, free: 34.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.01e-07/7.174, allocations: 0 / 3.27 GB, free: 34.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001738/7.176, allocations: 0.5619 MB / 3.271 GB, free: 34.06 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.002031/7.178, allocations: 1.624 MB / 3.273 GB, free: 32.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001312/7.18, allocations: 0.8604 MB / 3.273 GB, free: 31.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/7.18, allocations: 0 / 3.273 GB, free: 31.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/7.18, allocations: 283.8 kB / 3.274 GB, free: 31.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/7.182, allocations: 463.9 kB / 3.274 GB, free: 30.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/7.184, allocations: 1.278 MB / 3.275 GB, free: 29.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/7.185, allocations: 1.067 MB / 3.276 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001657/7.186, allocations: 418.7 kB / 3.277 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/7.187, allocations: 71.34 kB / 3.277 GB, free: 27.86 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/7.187, allocations: 0 / 3.277 GB, free: 27.86 MB / 0.698 GB Notification: Performance of Templates: time 0.4567/7.643, allocations: 44.42 MB / 3.32 GB, free: 126.1 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)