Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.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-master/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-master/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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.726/0.726, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.757/1.757, allocations: 221.3 MB / 400.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008744/0.0008744, allocations: 103.8 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.769e-05/3.77e-05, allocations: 7.266 kB / 0.56 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1955, allocations: 82.3 MB / 0.6404 GB, free: 7.801 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.385/1.58, allocations: 364.5 MB / 0.9964 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/1.581, allocations: 96.8 kB / 0.9965 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.522/3.103, allocations: 489 MB / 1.474 GB, free: 17.87 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.854e-06/3.103, allocations: 0 / 1.474 GB, free: 17.87 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002986/3.103, allocations: 43.98 kB / 1.474 GB, free: 17.82 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00474/3.108, allocations: 1.532 MB / 1.476 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/3.108, allocations: 12.03 kB / 1.476 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/3.11, allocations: 241.5 kB / 1.476 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006373/3.116, allocations: 1.932 MB / 1.478 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/3.116, allocations: 66 kB / 1.478 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003776/3.117, allocations: 87.98 kB / 1.478 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/3.119, allocations: 0.914 MB / 1.479 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/3.119, allocations: 4 kB / 1.479 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/3.119, allocations: 32 kB / 1.479 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/3.119, allocations: 23.95 kB / 1.479 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/3.121, allocations: 0.6364 MB / 1.479 GB, free: 12.2 MB / 0.6823 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.006103/3.127, allocations: 4.612 MB / 1.484 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007863/3.127, allocations: 0.5292 MB / 1.484 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004089/3.128, allocations: 292.3 kB / 1.485 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002562/3.13, allocations: 1.714 MB / 1.486 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004518/3.131, allocations: 314.2 kB / 1.487 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003793/3.131, allocations: 111.4 kB / 1.487 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 3.186e-06/3.131, allocations: 0 / 1.487 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.001178/3.133, allocations: 0.6445 MB / 1.487 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/3.133, allocations: 59.39 kB / 1.488 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/3.134, allocations: 1.106 MB / 1.489 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/3.134, allocations: 45.7 kB / 1.489 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/3.134, allocations: 0.649 MB / 1.489 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/3.135, allocations: 157.7 kB / 1.489 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/3.135, allocations: 16 kB / 1.489 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.745e-05/3.135, allocations: 334 kB / 1.49 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/3.135, allocations: 205.5 kB / 1.49 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/3.135, allocations: 0.5298 MB / 1.49 GB, free: 264 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4768/3.612, allocations: 319 kB / 1.491 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-05/3.612, allocations: 1.656 kB / 1.491 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002565/3.615, allocations: 0.944 MB / 1.492 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006717/3.616, allocations: 3.041 MB / 1.495 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/3.616, allocations: 8.25 kB / 1.495 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004358/3.616, allocations: 143.9 kB / 1.495 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/3.617, allocations: 151.4 kB / 1.495 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007939/3.618, allocations: 0.7652 MB / 1.496 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/3.619, allocations: 84.94 kB / 1.496 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/3.619, allocations: 38.53 kB / 1.496 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/3.619, allocations: 4.75 kB / 1.496 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001591/3.621, allocations: 0.8596 MB / 1.497 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/3.621, allocations: 9.984 kB / 1.497 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00025/3.621, allocations: 103.7 kB / 1.497 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/3.621, allocations: 147.7 kB / 1.497 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/3.624, allocations: 2.198 MB / 1.499 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/3.625, allocations: 81.02 kB / 1.499 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/3.625, allocations: 38.38 kB / 1.499 GB, free: 128.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002654/3.625, allocations: 151.7 kB / 1.499 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/3.625, allocations: 131.1 kB / 1.499 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/3.627, allocations: 0.8279 MB / 1.5 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/3.627, allocations: 6.062 kB / 1.5 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/3.627, allocations: 1.5 kB / 1.5 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001077/3.628, allocations: 0.8148 MB / 1.501 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003405/3.632, allocations: 1.816 MB / 1.503 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/3.632, allocations: 3.281 kB / 1.503 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004713/3.632, allocations: 85.88 kB / 1.503 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003311/3.633, allocations: 122.2 kB / 1.503 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/3.633, allocations: 20.58 kB / 1.503 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006256/3.633, allocations: 0.7468 MB / 1.504 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/3.633, allocations: 1.562 kB / 1.504 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/3.635, allocations: 1.15 MB / 1.505 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000669/3.636, allocations: 265.9 kB / 1.505 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/3.636, allocations: 15.34 kB / 1.505 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006619/3.637, allocations: 75.02 kB / 1.505 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/3.637, allocations: 42.28 kB / 1.505 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.607e-05/3.637, allocations: 22.69 kB / 1.505 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001487/3.638, allocations: 0.8682 MB / 1.506 GB, free: 126 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.71e-07/3.639, allocations: 2.562 kB / 1.506 GB, free: 126 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002962/3.641, allocations: 0.726 MB / 1.507 GB, free: 125.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * 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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001774/3.643, allocations: 0.7592 MB / 1.508 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002634/3.646, allocations: 1.262 MB / 1.509 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/3.646, allocations: 0 / 1.509 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005844/3.647, allocations: 301.5 kB / 1.509 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/3.649, allocations: 0.5639 MB / 1.51 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/3.653, allocations: 1.689 MB / 1.511 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/3.654, allocations: 1.306 MB / 1.513 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002421/3.656, allocations: 0.5666 MB / 1.513 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/3.657, allocations: 81.19 kB / 1.513 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.273e-06/3.657, allocations: 0 / 1.513 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.0499/3.707, allocations: 31.15 MB / 1.544 GB, free: 123.5 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)