Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7628/0.7628, allocations: 133.4 MB / 150.1 MB, free: 11.16 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.478/1.478, allocations: 222.9 MB / 404.7 MB, free: 6.105 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.001088/0.001088, allocations: 99.38 kB / 485.9 MB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009864/0.0009864, allocations: 51.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1551, allocations: 80.43 MB / 0.6421 GB, free: 5.445 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.03364/0.1888, allocations: 32.55 MB / 0.6739 GB, free: 4.773 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01548/0.2043, allocations: 10.57 MB / 0.6842 GB, free: 10.18 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.2063, allocations: 47.69 kB / 0.6843 GB, free: 10.13 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.2084, allocations: 0.6417 MB / 0.6849 GB, free: 9.488 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004093/0.2125, allocations: 1.447 MB / 0.6863 GB, free: 8.039 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.2158, allocations: 1.256 MB / 0.6876 GB, free: 6.789 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006897/0.2227, allocations: 6.464 MB / 0.6939 GB, free: 312 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3094/0.5321, allocations: 1.771 MB / 0.6956 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004848/0.537, allocations: 1.676 MB / 0.6972 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003969/0.541, allocations: 1.383 MB / 0.6986 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007164/0.5418, allocations: 82.19 kB / 0.6987 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003529/0.5453, allocations: 1.1 MB / 0.6997 GB, free: 12.68 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007299/0.5461, allocations: 407.9 kB / 0.7001 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00198/0.5481, allocations: 0.9422 MB / 0.7011 GB, free: 12.3 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004993/0.5531, allocations: 2.843 MB / 0.7038 GB, free: 11.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5531, allocations: 0 / 0.7038 GB, free: 11.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.5531, allocations: 2.391 kB / 0.7038 GB, free: 11.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.736e-05/0.5532, allocations: 3.562 kB / 0.7038 GB, free: 11.93 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.005209/0.5584, allocations: 2.388 MB / 0.7062 GB, free: 10.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.5585, allocations: 10.03 kB / 0.7062 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.5597, allocations: 303.5 kB / 0.7065 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003389/0.5631, allocations: 1.645 MB / 0.7081 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.162e-05/0.5632, allocations: 84.31 kB / 0.7082 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.5634, allocations: 110.5 kB / 0.7083 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.5657, allocations: 1.289 MB / 0.7095 GB, free: 9.832 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.5657, allocations: 1.031 kB / 0.7095 GB, free: 9.832 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.962e-05/0.5658, allocations: 41.62 kB / 0.7096 GB, free: 9.832 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.5659, allocations: 24.44 kB / 0.7096 GB, free: 9.832 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.5677, allocations: 0.9865 MB / 0.7105 GB, free: 9.816 MB / 490.7 MB 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.008353/0.576, allocations: 6.734 MB / 0.7171 GB, free: 5.715 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.5773, allocations: 0.5865 MB / 0.7177 GB, free: 5.688 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006882/0.578, allocations: 392.2 kB / 0.7181 GB, free: 5.676 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002667/0.5807, allocations: 1.683 MB / 0.7197 GB, free: 4.781 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007178/0.5815, allocations: 369.6 kB / 0.7201 GB, free: 4.723 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006875/0.5822, allocations: 103.8 kB / 0.7202 GB, free: 4.688 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 2.796e-06/0.5822, allocations: 0 / 0.7202 GB, free: 4.688 MB / 490.7 MB Notification: Performance of matching and sorting (n=46): time 0.003436/0.5856, allocations: 1.292 MB / 0.7214 GB, free: 4.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.5857, allocations: 64.14 kB / 0.7215 GB, free: 4.363 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/0.588, allocations: 1.786 MB / 0.7232 GB, free: 4.133 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/0.5881, allocations: 45.33 kB / 0.7233 GB, free: 4.098 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005967/0.5887, allocations: 0.8492 MB / 0.7241 GB, free: 3.832 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.5888, allocations: 164.6 kB / 0.7243 GB, free: 3.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.5891, allocations: 183.7 kB / 0.7244 GB, free: 3.707 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.733e-05/0.5892, allocations: 336.3 kB / 0.7248 GB, free: 3.402 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006481/0.5898, allocations: 318 kB / 0.7251 GB, free: 3.391 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009533/0.5908, allocations: 0.7373 MB / 0.7258 GB, free: 2.848 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.5921, allocations: 0.9826 MB / 0.7267 GB, free: 2.426 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.5921, allocations: 2.438 kB / 0.7267 GB, free: 2.426 MB / 490.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002426/0.5945, allocations: 1.301 MB / 0.728 GB, free: 2.223 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.5946, allocations: 43.52 kB / 0.728 GB, free: 2.191 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.5946, allocations: 10.75 kB / 0.7281 GB, free: 2.191 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006543/0.5953, allocations: 186.5 kB / 0.7282 GB, free: 2.176 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/0.5959, allocations: 163.8 kB / 0.7284 GB, free: 2.176 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000538/0.5964, allocations: 0.7635 MB / 0.7291 GB, free: 1.652 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.5977, allocations: 85.98 kB / 0.7292 GB, free: 1.641 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.712e-05/0.5978, allocations: 51.62 kB / 0.7293 GB, free: 1.637 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001177/0.599, allocations: 0.7057 MB / 0.73 GB, free: 1.438 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006051/0.5996, allocations: 0.7038 MB / 0.7306 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001018/0.6006, allocations: 0.917 MB / 0.7315 GB, free: 156 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-06/0.6006, allocations: 2.531 kB / 0.7315 GB, free: 156 kB / 490.7 MB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.002033/0.6027, allocations: 1.27 MB / 0.7328 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.6027, allocations: 40.94 kB / 0.7328 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.6028, allocations: 9.594 kB / 0.7328 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002105/0.603, allocations: 121 kB / 0.7329 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/0.6035, allocations: 156.7 kB / 0.7331 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.6056, allocations: 2.136 MB / 0.7352 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.6068, allocations: 92.58 kB / 0.7353 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/0.6069, allocations: 42.52 kB / 0.7353 GB, free: 13.87 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002971/0.6072, allocations: 241.7 kB / 0.7355 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.6074, allocations: 180 kB / 0.7357 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.6093, allocations: 0.976 MB / 0.7367 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.6094, allocations: 8.781 kB / 0.7367 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.6094, allocations: 0 / 0.7367 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001392/0.6108, allocations: 0.94 MB / 0.7376 GB, free: 12.62 MB / 0.4948 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 postOpt removeSimpleEquations (simulation): time 0.003642/0.6144, allocations: 2.166 MB / 0.7397 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.6145, allocations: 3.984 kB / 0.7397 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.6149, allocations: 83.42 kB / 0.7398 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002756/0.6152, allocations: 114.4 kB / 0.7399 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.6152, allocations: 21.64 kB / 0.7399 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005382/0.6158, allocations: 0.7432 MB / 0.7406 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.6158, allocations: 7.109 kB / 0.7407 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02027/0.6361, allocations: 10.48 MB / 0.7509 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004941/0.6366, allocations: 293.5 kB / 0.7512 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.6368, allocations: 11.97 kB / 0.7512 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000764/0.6375, allocations: 75.42 kB / 0.7512 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.6377, allocations: 40.61 kB / 0.7513 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.728e-05/0.6377, allocations: 21.55 kB / 0.7513 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002064/0.6398, allocations: 1.231 MB / 0.7525 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.586e-06/0.6398, allocations: 0 / 0.7525 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005892/0.6457, allocations: 1.321 MB / 0.7538 GB, free: 1.133 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * 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 (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001726/0.6475, allocations: 460.3 kB / 0.7542 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002908/0.6504, allocations: 1.452 MB / 0.7557 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.6504, allocations: 5.375 kB / 0.7557 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006717/0.6511, allocations: 332.8 kB / 0.756 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/0.6549, allocations: 0.7352 MB / 0.7567 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005722/0.6606, allocations: 3.987 MB / 0.7606 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.6617, allocations: 1.516 MB / 0.7621 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001806/0.6635, allocations: 460.9 kB / 0.7625 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/0.6639, allocations: 135.4 kB / 0.7626 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of SimCode: time 5.61e-07/0.6639, allocations: 0 / 0.7626 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of Templates: time 0.05821/0.7221, allocations: 35.04 MB / 0.7969 GB, free: 5.566 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)