Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.606/0.606, allocations: 94.78 MB / 102.2 MB, free: 10.12 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001088/0.001088, allocations: 174.9 kB / 125.5 MB, free: 11.87 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.597/1.597, allocations: 170.6 MB / 319.4 MB, free: 9.34 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001868/0.001868, allocations: 104.7 kB / 381.3 MB, free: 18.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.366e-05/2.369e-05, allocations: 0 / 449.1 MB, free: 1.758 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1947, allocations: 61.53 MB / 0.4987 GB, free: 4.141 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.247/1.442, allocations: 396.9 MB / 0.8863 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/1.442, allocations: 85.27 kB / 0.8863 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.282/2.724, allocations: 238.3 MB / 1.119 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.836e-06/2.724, allocations: 0 / 1.119 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000108/2.724, allocations: 18.41 kB / 1.119 GB, free: 118.2 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002065/2.726, allocations: 0.7985 MB / 1.12 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/2.726, allocations: 8.594 kB / 1.12 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005194/2.727, allocations: 88.17 kB / 1.12 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03692/2.764, allocations: 16.03 MB / 1.136 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/2.764, allocations: 46.77 kB / 1.136 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/2.764, allocations: 24.5 kB / 1.136 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008916/2.765, allocations: 206.4 kB / 1.136 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/2.766, allocations: 388.3 kB / 1.136 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/2.766, allocations: 0 / 1.136 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/2.766, allocations: 3.312 kB / 1.136 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/2.766, allocations: 14.47 kB / 1.136 GB, free: 116.7 MB / 0.5261 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.004287/2.771, allocations: 1.984 MB / 1.138 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/2.771, allocations: 77.47 kB / 1.138 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/2.771, allocations: 33.33 kB / 1.138 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/2.771, allocations: 90.28 kB / 1.138 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/2.771, allocations: 34.41 kB / 1.138 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 2.976e-06/2.771, allocations: 0 / 1.138 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.000718/2.772, allocations: 143.7 kB / 1.139 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/2.772, allocations: 104.2 kB / 1.139 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005442/2.773, allocations: 374.3 kB / 1.139 GB, free: 115 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/2.773, allocations: 25.7 kB / 1.139 GB, free: 115 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/2.773, allocations: 359.1 kB / 1.139 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/2.773, allocations: 31.64 kB / 1.139 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/2.773, allocations: 2.844 kB / 1.139 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000125/2.773, allocations: 361.2 kB / 1.14 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.388e-05/2.773, allocations: 33.19 kB / 1.14 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/2.773, allocations: 185.7 kB / 1.14 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/2.774, allocations: 124.3 kB / 1.14 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/2.774, allocations: 0 / 1.14 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007764/2.775, allocations: 281 kB / 1.14 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009447/2.776, allocations: 1.307 MB / 1.142 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/2.776, allocations: 11.47 kB / 1.142 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/2.776, allocations: 3.688 kB / 1.142 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/2.776, allocations: 54.89 kB / 1.142 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/2.776, allocations: 14.44 kB / 1.142 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004914/2.777, allocations: 56.94 kB / 1.142 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/2.777, allocations: 13.69 kB / 1.142 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/2.777, allocations: 7.219 kB / 1.142 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002667/2.777, allocations: 127 kB / 1.142 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/2.777, allocations: 6.156 kB / 1.142 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/2.777, allocations: 5.469 kB / 1.142 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/2.777, allocations: 53.31 kB / 1.142 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/2.777, allocations: 7 kB / 1.142 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/2.777, allocations: 47.72 kB / 1.142 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/2.777, allocations: 10.75 kB / 1.142 GB, free: 112.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001059/2.778, allocations: 121.1 kB / 1.142 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.321e-05/2.778, allocations: 48.97 kB / 1.142 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006055/2.778, allocations: 197.1 kB / 1.142 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/2.778, allocations: 0 / 1.142 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/2.778, allocations: 0 / 1.142 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/2.778, allocations: 3.25 kB / 1.142 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004534/2.779, allocations: 335.1 kB / 1.143 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/2.779, allocations: 2.562 kB / 1.143 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/2.779, allocations: 30.12 kB / 1.143 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/2.779, allocations: 0 / 1.143 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/2.779, allocations: 3.188 kB / 1.143 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/2.779, allocations: 2.688 kB / 1.143 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/2.779, allocations: 2.688 kB / 1.143 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005319/2.779, allocations: 287.8 kB / 1.143 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.485e-05/2.78, allocations: 109.9 kB / 1.143 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/2.78, allocations: 6.953 kB / 1.143 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/2.78, allocations: 35.66 kB / 1.143 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/2.78, allocations: 16.14 kB / 1.143 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/2.78, allocations: 6.719 kB / 1.143 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002631/2.78, allocations: 283.3 kB / 1.143 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.603e-06/2.78, allocations: 0 / 1.143 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009687/2.781, allocations: 311.2 kB / 1.144 GB, free: 112.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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.000786/2.782, allocations: 388.5 kB / 1.144 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003381/2.782, allocations: 194.5 kB / 1.144 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/2.782, allocations: 6.438 kB / 1.144 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.181e-05/2.782, allocations: 23.89 kB / 1.144 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008419/2.783, allocations: 171.2 kB / 1.145 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009267/2.784, allocations: 0.5147 MB / 1.145 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/2.785, allocations: 0.8842 MB / 1.146 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004701/2.785, allocations: 117.6 kB / 1.146 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/2.785, allocations: 35.28 kB / 1.146 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/2.785, allocations: 1.406 kB / 1.146 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.01656/2.802, allocations: 8.853 MB / 1.155 GB, free: 111 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe 2>&1)