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.7593/0.7593, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.001176/0.001176, allocations: 188.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.505/1.505, allocations: 221.3 MB / 441.4 MB, free: 4.621 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.0009271/0.000927, allocations: 97.11 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001834/0.001835, allocations: 284 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.601e-05/5.603e-05, allocations: 8 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.469, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8314/1.3, allocations: 379 MB / 1.134 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/1.301, allocations: 95.33 kB / 1.134 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.104/6.405, allocations: 1.334 GB / 2.469 GB, free: 76.15 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.034e-06/6.405, allocations: 0 / 2.469 GB, free: 76.15 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005747/6.406, allocations: 87.97 kB / 2.469 GB, free: 76.06 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.0129/6.419, allocations: 3.121 MB / 2.472 GB, free: 72.88 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/6.419, allocations: 8.031 kB / 2.472 GB, free: 72.87 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003963/6.423, allocations: 0.5392 MB / 2.472 GB, free: 72.32 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01309/6.436, allocations: 4.304 MB / 2.477 GB, free: 67.96 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/6.436, allocations: 139.1 kB / 2.477 GB, free: 67.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005556/6.437, allocations: 192 kB / 2.477 GB, free: 67.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003314/6.44, allocations: 2.167 MB / 2.479 GB, free: 65.33 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/6.44, allocations: 9.938 kB / 2.479 GB, free: 65.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/6.44, allocations: 64 kB / 2.479 GB, free: 65.26 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/6.44, allocations: 40 kB / 2.479 GB, free: 65.22 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/6.443, allocations: 1.682 MB / 2.481 GB, free: 63.53 MB / 0.7292 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.01545/6.458, allocations: 11.54 MB / 2.492 GB, free: 51.33 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/6.46, allocations: 1.175 MB / 2.493 GB, free: 50.14 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/6.461, allocations: 0.9008 MB / 2.494 GB, free: 49.24 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006854/6.468, allocations: 3.459 MB / 2.497 GB, free: 45.51 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000871/6.469, allocations: 0.6774 MB / 2.498 GB, free: 44.82 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002364/6.471, allocations: 0.6155 MB / 2.499 GB, free: 44.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=98): time 6.853e-06/6.471, allocations: 0 / 2.499 GB, free: 44.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=98): time 0.002754/6.474, allocations: 1.796 MB / 2.5 GB, free: 42.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/6.474, allocations: 68.12 kB / 2.5 GB, free: 42.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003217/6.477, allocations: 2.459 MB / 2.503 GB, free: 39.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002121/6.477, allocations: 57.7 kB / 2.503 GB, free: 39.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/6.479, allocations: 1.425 MB / 2.504 GB, free: 38.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/6.479, allocations: 343.1 kB / 2.505 GB, free: 38.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.96e-05/6.479, allocations: 32 kB / 2.505 GB, free: 37.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.958e-05/6.479, allocations: 365.9 kB / 2.505 GB, free: 37.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000698/6.48, allocations: 0.5155 MB / 2.506 GB, free: 37.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/6.481, allocations: 1.287 MB / 2.507 GB, free: 35.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009105/6.482, allocations: 0.7369 MB / 2.508 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/6.482, allocations: 4 kB / 2.508 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003506/6.485, allocations: 2.37 MB / 2.51 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001244/6.486, allocations: 5.984 MB / 2.516 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/6.487, allocations: 12 kB / 2.516 GB, free: 25.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/6.488, allocations: 0.5046 MB / 2.516 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/6.489, allocations: 273.4 kB / 2.516 GB, free: 24.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/6.49, allocations: 1.897 MB / 2.518 GB, free: 23.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/6.493, allocations: 180.2 kB / 2.518 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/6.493, allocations: 75.97 kB / 2.519 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/6.493, allocations: 5.094 kB / 2.519 GB, free: 22.78 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002863/6.496, allocations: 2.128 MB / 2.521 GB, free: 20.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/6.496, allocations: 12 kB / 2.521 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000779/6.497, allocations: 469.5 kB / 2.521 GB, free: 20.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009086/6.498, allocations: 261.4 kB / 2.521 GB, free: 19.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005578/6.503, allocations: 5.829 MB / 2.527 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/6.506, allocations: 172.2 kB / 2.527 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/6.506, allocations: 75.55 kB / 2.527 GB, free: 13.54 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.0004664/6.507, allocations: 206.5 kB / 2.527 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005122/6.507, allocations: 304.1 kB / 2.528 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/6.511, allocations: 2.119 MB / 2.53 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/6.511, allocations: 12 kB / 2.53 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/6.511, allocations: 0 / 2.53 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002039/6.513, allocations: 1.83 MB / 2.532 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006736/6.52, allocations: 4.048 MB / 2.536 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/6.52, allocations: 0 / 2.536 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006473/6.52, allocations: 149.2 kB / 2.536 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009104/6.521, allocations: 472.7 kB / 2.536 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.826e-05/6.521, allocations: 23.98 kB / 2.536 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/6.523, allocations: 1.846 MB / 2.538 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/6.523, allocations: 3.984 kB / 2.538 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6194/7.142, allocations: 2.794 MB / 2.541 GB, free: 99.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002386/7.144, allocations: 0.4931 MB / 2.541 GB, free: 99.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004423/7.145, allocations: 20.05 kB / 2.541 GB, free: 99.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/7.146, allocations: 140.1 kB / 2.541 GB, free: 99.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/7.147, allocations: 72.89 kB / 2.541 GB, free: 99.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/7.147, allocations: 41.34 kB / 2.541 GB, free: 99.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004558/7.151, allocations: 1.911 MB / 2.543 GB, free: 99.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.71e-07/7.151, allocations: 0 / 2.543 GB, free: 99.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007559/7.159, allocations: 1.448 MB / 2.545 GB, free: 99.46 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.002463/7.161, allocations: 1.087 MB / 2.546 GB, free: 99.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005328/7.167, allocations: 2.862 MB / 2.549 GB, free: 98.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/7.167, allocations: 2.625 kB / 2.549 GB, free: 98.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/7.168, allocations: 0.6604 MB / 2.549 GB, free: 98.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007149/7.175, allocations: 1.179 MB / 2.55 GB, free: 98.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008141/7.183, allocations: 3.869 MB / 2.554 GB, free: 97.94 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002198/7.185, allocations: 2.102 MB / 2.556 GB, free: 97.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006341/7.192, allocations: 1.588 MB / 2.558 GB, free: 97.17 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004102/7.192, allocations: 146.2 kB / 2.558 GB, free: 97.17 MB / 0.7292 GB Notification: Performance of SimCode: time 1.112e-06/7.192, allocations: 0 / 2.558 GB, free: 97.17 MB / 0.7292 GB Notification: Performance of Templates: time 0.1098/7.302, allocations: 63.15 MB / 2.62 GB, free: 94.72 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)