Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.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.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1") translateModel(BuildingSystems.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9424/0.9424, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001136/0.001136, allocations: 188.8 kB / 182.2 MB, free: 9.43 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.562/1.562, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009358/0.0009358, allocations: 84.09 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00175/0.00175, allocations: 287 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.981e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4404, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7809/1.221, allocations: 378.3 MB / 1.127 GB, free: 2.281 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/1.222, allocations: 93.95 kB / 1.127 GB, free: 2.238 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.194/6.416, allocations: 1.327 GB / 2.454 GB, free: 60.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.415e-06/6.416, allocations: 0 / 2.454 GB, free: 60.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0006981/6.416, allocations: 84.75 kB / 2.454 GB, free: 60.38 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.0128/6.429, allocations: 3.122 MB / 2.457 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/6.429, allocations: 12.03 kB / 2.458 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003785/6.433, allocations: 0.5353 MB / 2.458 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/6.446, allocations: 4.312 MB / 2.462 GB, free: 52.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/6.447, allocations: 56 kB / 2.462 GB, free: 52.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007127/6.447, allocations: 112 kB / 2.462 GB, free: 52.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00354/6.451, allocations: 1.615 MB / 2.464 GB, free: 50.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003622/6.455, allocations: 1.817 MB / 2.466 GB, free: 48.65 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.302e-05/6.455, allocations: 3.938 kB / 2.466 GB, free: 48.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/6.455, allocations: 4 kB / 2.466 GB, free: 48.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/6.455, allocations: 51.89 kB / 2.466 GB, free: 48.59 MB / 0.7136 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.01322/6.468, allocations: 11.21 MB / 2.477 GB, free: 36.81 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/6.47, allocations: 1.235 MB / 2.478 GB, free: 35.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009456/6.471, allocations: 0.9086 MB / 2.479 GB, free: 34.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005587/6.476, allocations: 3.397 MB / 2.482 GB, free: 31.01 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008998/6.477, allocations: 0.6475 MB / 2.483 GB, free: 30.35 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002186/6.479, allocations: 0.5766 MB / 2.483 GB, free: 29.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 6.612e-06/6.479, allocations: 4 kB / 2.483 GB, free: 29.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.006791/6.486, allocations: 2.452 MB / 2.486 GB, free: 27.31 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/6.486, allocations: 68.11 kB / 2.486 GB, free: 27.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003936/6.49, allocations: 2.197 MB / 2.488 GB, free: 25.03 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/6.49, allocations: 29.7 kB / 2.488 GB, free: 25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001328/6.492, allocations: 1.421 MB / 2.489 GB, free: 23.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/6.492, allocations: 327.1 kB / 2.49 GB, free: 23.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/6.492, allocations: 4 kB / 2.49 GB, free: 23.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000113/6.492, allocations: 365.9 kB / 2.49 GB, free: 22.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000729/6.493, allocations: 0.5271 MB / 2.491 GB, free: 22.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/6.494, allocations: 1.269 MB / 2.492 GB, free: 20.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004596/6.499, allocations: 1.322 MB / 2.493 GB, free: 19.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/6.499, allocations: 4 kB / 2.493 GB, free: 19.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007864/6.506, allocations: 2.925 MB / 2.496 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001384/6.508, allocations: 5.944 MB / 2.502 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.24e-05/6.508, allocations: 16 kB / 2.502 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009044/6.509, allocations: 440.5 kB / 2.502 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/6.51, allocations: 277.4 kB / 2.502 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/6.512, allocations: 2.01 MB / 2.504 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/6.515, allocations: 148.2 kB / 2.505 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002304/6.515, allocations: 75.97 kB / 2.505 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/6.515, allocations: 4.938 kB / 2.505 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006679/6.522, allocations: 2.527 MB / 2.507 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.661e-05/6.522, allocations: 16 kB / 2.507 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007745/6.522, allocations: 401.5 kB / 2.508 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/6.523, allocations: 257.5 kB / 2.508 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006965/6.53, allocations: 5.612 MB / 2.513 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003304/6.534, allocations: 140.1 kB / 2.513 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003627/6.534, allocations: 67.98 kB / 2.513 GB, free: 13.65 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0008628/6.535, allocations: 157.2 kB / 2.514 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001589/6.537, allocations: 280.4 kB / 2.514 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009271/6.546, allocations: 2.58 MB / 2.516 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.3e-05/6.546, allocations: 19.95 kB / 2.516 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/6.546, allocations: 0 / 2.516 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00684/6.553, allocations: 2.327 MB / 2.519 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/6.566, allocations: 4.365 MB / 2.523 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/6.567, allocations: 8.062 kB / 2.523 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007437/6.567, allocations: 137.3 kB / 2.523 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000826/6.568, allocations: 381 kB / 2.523 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.29e-05/6.568, allocations: 26.16 kB / 2.523 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/6.57, allocations: 1.865 MB / 2.525 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/6.57, allocations: 0 / 2.525 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5974/7.168, allocations: 3.265 MB / 2.528 GB, free: 103.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002097/7.17, allocations: 486.4 kB / 2.529 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004447/7.17, allocations: 4.641 kB / 2.529 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/7.172, allocations: 127.8 kB / 2.529 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/7.172, allocations: 70.09 kB / 2.529 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/7.172, allocations: 42.31 kB / 2.529 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003766/7.176, allocations: 1.675 MB / 2.531 GB, free: 103.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/7.176, allocations: 0 / 2.531 GB, free: 103.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007905/7.184, allocations: 1.393 MB / 2.532 GB, free: 103.5 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.003166/7.187, allocations: 1.042 MB / 2.533 GB, free: 103.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005129/7.192, allocations: 2.763 MB / 2.536 GB, free: 103 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/7.192, allocations: 0 / 2.536 GB, free: 103 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009627/7.193, allocations: 0.6456 MB / 2.537 GB, free: 103 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005993/7.199, allocations: 1.067 MB / 2.538 GB, free: 102.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007629/7.207, allocations: 3.793 MB / 2.541 GB, free: 102 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/7.208, allocations: 2.099 MB / 2.543 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005618/7.214, allocations: 1.406 MB / 2.545 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/7.215, allocations: 130.1 kB / 2.545 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of SimCode: time 1.373e-06/7.215, allocations: 0 / 2.545 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.09909/7.314, allocations: 53.32 MB / 2.597 GB, free: 99.27 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe 2>&1)