Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.conf.json 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/IDEAS 3.0.0/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1") translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008133/0.008133, allocations: 170.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7327/0.7327, allocations: 132.3 MB / 148.1 MB, free: 260 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 403.2 MB, free: 6.711 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.0009336/0.0009339, allocations: 99.36 kB / 485.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.0004659, allocations: 8 kB / 0.5641 GB, free: 2.168 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.454, allocations: 81.59 MB / 0.6437 GB, free: 39.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8627/1.317, allocations: 381.2 MB / 1.016 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/1.317, allocations: 98.2 kB / 1.016 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.229/6.546, allocations: 1.34 GB / 2.356 GB, free: 34.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.354e-06/6.546, allocations: 0 / 2.356 GB, free: 34.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0005858/6.547, allocations: 95.95 kB / 2.356 GB, free: 34.89 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.01555/6.563, allocations: 4.056 MB / 2.36 GB, free: 30.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.34e-05/6.563, allocations: 8.031 kB / 2.36 GB, free: 30.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/6.566, allocations: 0.5275 MB / 2.36 GB, free: 30.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/6.578, allocations: 4.383 MB / 2.365 GB, free: 25.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/6.578, allocations: 147.1 kB / 2.365 GB, free: 25.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004053/6.579, allocations: 184 kB / 2.365 GB, free: 25.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003484/6.582, allocations: 2.237 MB / 2.367 GB, free: 23.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.137e-05/6.582, allocations: 3.938 kB / 2.367 GB, free: 23.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/6.582, allocations: 71.38 kB / 2.367 GB, free: 23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/6.582, allocations: 44 kB / 2.367 GB, free: 22.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002821/6.585, allocations: 1.775 MB / 2.369 GB, free: 21.18 MB / 0.7136 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.01404/6.599, allocations: 11.53 MB / 2.38 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/6.601, allocations: 1.266 MB / 2.381 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005804/6.607, allocations: 3.453 MB / 2.385 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/6.608, allocations: 0.7272 MB / 2.385 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002211/6.611, allocations: 0.6078 MB / 2.386 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 2.956e-06/6.611, allocations: 0 / 2.386 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.5576/7.168, allocations: 3.549 MB / 2.39 GB, free: 98.04 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/7.168, allocations: 69.66 kB / 2.39 GB, free: 97.97 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005954/7.174, allocations: 2.497 MB / 2.392 GB, free: 97.76 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003967/7.175, allocations: 57.92 kB / 2.392 GB, free: 97.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001484/7.176, allocations: 1.425 MB / 2.394 GB, free: 97.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004601/7.177, allocations: 344.3 kB / 2.394 GB, free: 97.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.211e-05/7.177, allocations: 27.09 kB / 2.394 GB, free: 97.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001215/7.177, allocations: 364.7 kB / 2.394 GB, free: 97.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/7.178, allocations: 0.5596 MB / 2.395 GB, free: 97.26 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/7.18, allocations: 1.323 MB / 2.396 GB, free: 96.33 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/7.181, allocations: 0.7853 MB / 2.397 GB, free: 96.28 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/7.181, allocations: 4.281 kB / 2.397 GB, free: 96.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005086/7.186, allocations: 2.445 MB / 2.399 GB, free: 96.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001383/7.188, allocations: 5.986 MB / 2.405 GB, free: 89.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/7.188, allocations: 14.22 kB / 2.405 GB, free: 89.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/7.189, allocations: 0.5116 MB / 2.406 GB, free: 89.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/7.19, allocations: 260.6 kB / 2.406 GB, free: 89.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/7.192, allocations: 1.9 MB / 2.408 GB, free: 88.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/7.195, allocations: 183.1 kB / 2.408 GB, free: 88.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/7.195, allocations: 81.06 kB / 2.408 GB, free: 88.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/7.195, allocations: 3.906 kB / 2.408 GB, free: 88.58 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003653/7.199, allocations: 2.199 MB / 2.41 GB, free: 88.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/7.199, allocations: 14.22 kB / 2.41 GB, free: 88.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008432/7.2, allocations: 471 kB / 2.411 GB, free: 88.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009574/7.201, allocations: 265 kB / 2.411 GB, free: 88.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006367/7.207, allocations: 5.949 MB / 2.417 GB, free: 85.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003146/7.21, allocations: 181.3 kB / 2.417 GB, free: 85.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/7.21, allocations: 70.64 kB / 2.417 GB, free: 85.52 MB / 0.7136 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.002201/7.213, allocations: 0.8277 MB / 2.418 GB, free: 85.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008615/7.214, allocations: 288.5 kB / 2.418 GB, free: 85.17 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005043/7.219, allocations: 2.193 MB / 2.42 GB, free: 85.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/7.219, allocations: 11.81 kB / 2.42 GB, free: 85.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/7.219, allocations: 0 / 2.42 GB, free: 85.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002705/7.221, allocations: 1.895 MB / 2.422 GB, free: 84.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009333/7.231, allocations: 4.138 MB / 2.426 GB, free: 84.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/7.231, allocations: 0 / 2.426 GB, free: 84.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006789/7.231, allocations: 140.3 kB / 2.426 GB, free: 84.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009662/7.232, allocations: 470.1 kB / 2.427 GB, free: 84.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-05/7.233, allocations: 35.83 kB / 2.427 GB, free: 84.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/7.234, allocations: 1.846 MB / 2.428 GB, free: 82.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/7.234, allocations: 1.688 kB / 2.428 GB, free: 82.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005943/7.24, allocations: 2.911 MB / 2.431 GB, free: 82.51 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00282/7.243, allocations: 0.4944 MB / 2.432 GB, free: 82.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001415/7.244, allocations: 26.56 kB / 2.432 GB, free: 82.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002901/7.247, allocations: 146.1 kB / 2.432 GB, free: 82.24 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/7.248, allocations: 65.66 kB / 2.432 GB, free: 82.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/7.248, allocations: 42.58 kB / 2.432 GB, free: 82.24 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00388/7.252, allocations: 1.942 MB / 2.434 GB, free: 82.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/7.252, allocations: 0 / 2.434 GB, free: 82.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006771/7.258, allocations: 1.451 MB / 2.435 GB, free: 82.05 MB / 0.7136 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.00241/7.261, allocations: 1.078 MB / 2.436 GB, free: 81.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005695/7.266, allocations: 2.892 MB / 2.439 GB, free: 81.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/7.267, allocations: 3.281 kB / 2.439 GB, free: 81.44 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/7.268, allocations: 0.6951 MB / 2.44 GB, free: 81.42 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006725/7.275, allocations: 1.187 MB / 2.441 GB, free: 81.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/7.288, allocations: 5.793 MB / 2.447 GB, free: 79.01 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003146/7.291, allocations: 2.099 MB / 2.449 GB, free: 78.28 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004229/7.296, allocations: 0.7332 MB / 2.449 GB, free: 78.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008472/7.296, allocations: 187.3 kB / 2.45 GB, free: 78.24 MB / 0.7136 GB Notification: Performance of SimCode: time 1.843e-06/7.296, allocations: 0 / 2.45 GB, free: 78.24 MB / 0.7136 GB Notification: Performance of Templates: time 0.1044/7.401, allocations: 55.38 MB / 2.504 GB, free: 75.72 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)