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.8156/0.8156, allocations: 143.4 MB / 158.3 MB, free: 5.754 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.001134/0.001134, allocations: 181.1 kB / 191.5 MB, free: 5.754 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.508/1.508, allocations: 223.2 MB / 447.7 MB, free: 6.508 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.0009855/0.0009855, allocations: 96.27 kB / 0.5188 GB, free: 2.859 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001836/0.001836, allocations: 261.4 kB / 0.6005 GB, free: 48.97 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004636, allocations: 12 kB / 0.6929 GB, free: 2.297 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4344, allocations: 82.77 MB / 0.7737 GB, free: 26.19 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8668/1.301, allocations: 379 MB / 1.144 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/1.302, allocations: 97.2 kB / 1.144 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.366/6.668, allocations: 1.339 GB / 2.483 GB, free: 51.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.094e-06/6.668, allocations: 0 / 2.483 GB, free: 51.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005803/6.669, allocations: 91.95 kB / 2.484 GB, free: 51.01 MB / 0.7292 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.01541/6.684, allocations: 4.044 MB / 2.487 GB, free: 46.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/6.684, allocations: 16.56 kB / 2.487 GB, free: 46.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003654/6.688, allocations: 0.5235 MB / 2.488 GB, free: 46.35 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/6.701, allocations: 4.378 MB / 2.492 GB, free: 41.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/6.701, allocations: 139.1 kB / 2.492 GB, free: 41.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005586/6.702, allocations: 184 kB / 2.493 GB, free: 41.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003567/6.705, allocations: 2.233 MB / 2.495 GB, free: 39.22 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.156e-05/6.705, allocations: 7.938 kB / 2.495 GB, free: 39.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002285/6.705, allocations: 68 kB / 2.495 GB, free: 39.14 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.848e-05/6.705, allocations: 40 kB / 2.495 GB, free: 39.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/6.708, allocations: 1.783 MB / 2.497 GB, free: 37.32 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01459/6.723, allocations: 11.52 MB / 2.508 GB, free: 25.13 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/6.725, allocations: 1.281 MB / 2.509 GB, free: 23.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006261/6.732, allocations: 3.457 MB / 2.512 GB, free: 20.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/6.733, allocations: 0.7155 MB / 2.513 GB, free: 19.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00247/6.735, allocations: 0.6193 MB / 2.514 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=98): time 4.859e-06/6.735, allocations: 0 / 2.514 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=98): time 0.008816/6.744, allocations: 3.56 MB / 2.517 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/6.744, allocations: 76.33 kB / 2.517 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003938/6.748, allocations: 2.484 MB / 2.52 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003091/6.748, allocations: 57.7 kB / 2.52 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/6.749, allocations: 1.417 MB / 2.521 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000328/6.75, allocations: 351 kB / 2.522 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/6.75, allocations: 32 kB / 2.522 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001031/6.75, allocations: 361.9 kB / 2.522 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009764/6.751, allocations: 0.5582 MB / 2.522 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/6.752, allocations: 1.334 MB / 2.524 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/6.753, allocations: 0.778 MB / 2.525 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/6.753, allocations: 4 kB / 2.525 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004373/6.758, allocations: 2.46 MB / 2.527 GB, free: 4.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.5021/7.26, allocations: 5.979 MB / 2.533 GB, free: 96.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.309e-05/7.26, allocations: 14.62 kB / 2.533 GB, free: 96.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/7.262, allocations: 0.5046 MB / 2.533 GB, free: 96.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/7.263, allocations: 271.9 kB / 2.534 GB, free: 96.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/7.266, allocations: 1.896 MB / 2.535 GB, free: 95.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003257/7.269, allocations: 186.2 kB / 2.536 GB, free: 95.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003348/7.269, allocations: 78.03 kB / 2.536 GB, free: 95.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/7.269, allocations: 3.594 kB / 2.536 GB, free: 95.63 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004923/7.274, allocations: 2.206 MB / 2.538 GB, free: 95.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-05/7.274, allocations: 13.89 kB / 2.538 GB, free: 95.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/7.275, allocations: 470.8 kB / 2.538 GB, free: 95.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/7.277, allocations: 261.8 kB / 2.538 GB, free: 95.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006796/7.283, allocations: 5.953 MB / 2.544 GB, free: 92.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003043/7.286, allocations: 178 kB / 2.544 GB, free: 92.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003069/7.287, allocations: 71.39 kB / 2.545 GB, free: 92.67 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 () * Number of clocked 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.002386/7.289, allocations: 0.829 MB / 2.545 GB, free: 92.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009126/7.29, allocations: 292.1 kB / 2.546 GB, free: 92.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004733/7.295, allocations: 2.203 MB / 2.548 GB, free: 92.35 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/7.295, allocations: 14.02 kB / 2.548 GB, free: 92.35 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/7.295, allocations: 0 / 2.548 GB, free: 92.35 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002863/7.298, allocations: 1.908 MB / 2.55 GB, free: 91.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009524/7.307, allocations: 4.151 MB / 2.554 GB, free: 91.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/7.307, allocations: 2.406 kB / 2.554 GB, free: 91.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006855/7.308, allocations: 127.7 kB / 2.554 GB, free: 91.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00104/7.309, allocations: 479.8 kB / 2.554 GB, free: 91.42 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.391e-05/7.309, allocations: 32.59 kB / 2.554 GB, free: 91.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/7.311, allocations: 1.846 MB / 2.556 GB, free: 90.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/7.311, allocations: 6.438 kB / 2.556 GB, free: 90.37 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005687/7.316, allocations: 2.928 MB / 2.559 GB, free: 90.01 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/7.319, allocations: 0.4908 MB / 2.559 GB, free: 89.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006215/7.319, allocations: 17.75 kB / 2.559 GB, free: 89.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/7.321, allocations: 143 kB / 2.56 GB, free: 89.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/7.321, allocations: 69.75 kB / 2.56 GB, free: 89.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.955e-05/7.321, allocations: 39.33 kB / 2.56 GB, free: 89.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003164/7.324, allocations: 1.943 MB / 2.562 GB, free: 89.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/7.324, allocations: 0 / 2.562 GB, free: 89.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005759/7.33, allocations: 1.452 MB / 2.563 GB, free: 89.56 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) * Number of clocked states: 0 () * 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.00231/7.332, allocations: 1.07 MB / 2.564 GB, free: 89.37 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005474/7.338, allocations: 2.894 MB / 2.567 GB, free: 88.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/7.338, allocations: 2.625 kB / 2.567 GB, free: 88.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/7.339, allocations: 0.6936 MB / 2.568 GB, free: 88.94 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006132/7.345, allocations: 1.183 MB / 2.569 GB, free: 88.92 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00991/7.355, allocations: 5.774 MB / 2.574 GB, free: 86.55 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/7.357, allocations: 2.096 MB / 2.576 GB, free: 85.81 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003514/7.36, allocations: 0.7304 MB / 2.577 GB, free: 85.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005498/7.361, allocations: 194.5 kB / 2.577 GB, free: 85.78 MB / 0.7292 GB Notification: Performance of SimCode: time 1.293e-06/7.361, allocations: 0 / 2.577 GB, free: 85.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.09332/7.454, allocations: 55.53 MB / 2.632 GB, free: 83.33 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)