Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example3.conf.json 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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008123/0.0008124, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008078/0.0008078, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.179/1.179, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8642/0.8642, allocations: 135.2 MB / 426.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002923, allocations: 13.56 kB / 0.5068 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1577, allocations: 82.3 MB / 0.5872 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.2957/0.4535, allocations: 27.37 MB / 0.6139 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009832/0.4633, allocations: 9.142 MB / 0.6228 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.4645, allocations: 36.16 kB / 0.6229 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.4659, allocations: 0.5621 MB / 0.6234 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003396/0.4693, allocations: 1.479 MB / 0.6249 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.4723, allocations: 1.347 MB / 0.6262 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00299/0.4753, allocations: 2.843 MB / 0.629 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.4768, allocations: 1.616 MB / 0.6305 GB, free: 29.99 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.4785, allocations: 1.335 MB / 0.6318 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009921/0.4796, allocations: 0.9231 MB / 0.6327 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.4797, allocations: 71.81 kB / 0.6328 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.4813, allocations: 0.7705 MB / 0.6336 GB, free: 28.76 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002915/0.4817, allocations: 361 kB / 0.6339 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003302/0.482, allocations: 400.5 kB / 0.6343 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.4836, allocations: 2.103 MB / 0.6363 GB, free: 27.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.4836, allocations: 0 / 0.6363 GB, free: 27.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4836, allocations: 0 / 0.6363 GB, free: 27.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.422e-05/0.4837, allocations: 0 / 0.6363 GB, free: 27.88 MB / 0.4981 GB 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.002891/0.4865, allocations: 2.094 MB / 0.6384 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.4866, allocations: 12.69 kB / 0.6384 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009679/0.4876, allocations: 305.2 kB / 0.6387 GB, free: 26.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/0.4899, allocations: 1.573 MB / 0.6402 GB, free: 25.63 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.656e-05/0.4899, allocations: 82.7 kB / 0.6403 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.4901, allocations: 108.8 kB / 0.6404 GB, free: 25.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.4918, allocations: 1.315 MB / 0.6417 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.4918, allocations: 3.938 kB / 0.6417 GB, free: 24.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.409e-05/0.4919, allocations: 38.5 kB / 0.6417 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.4919, allocations: 23.62 kB / 0.6418 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.4935, allocations: 1.042 MB / 0.6428 GB, free: 24.57 MB / 0.4981 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.00579/0.4994, allocations: 6.932 MB / 0.6495 GB, free: 19.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.5006, allocations: 0.6688 MB / 0.6502 GB, free: 19.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002618/0.5033, allocations: 1.875 MB / 0.652 GB, free: 17.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008009/0.5041, allocations: 398.5 kB / 0.6524 GB, free: 17.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004636/0.5046, allocations: 105.4 kB / 0.6525 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 2.464e-06/0.5046, allocations: 0 / 0.6525 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46): time 0.00381/0.5084, allocations: 1.512 MB / 0.654 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.5084, allocations: 57.75 kB / 0.654 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/0.5109, allocations: 1.866 MB / 0.6559 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.511, allocations: 39.89 kB / 0.6559 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006271/0.5116, allocations: 0.8579 MB / 0.6567 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.5117, allocations: 162.4 kB / 0.6569 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.5118, allocations: 15.84 kB / 0.6569 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.5119, allocations: 340.7 kB / 0.6572 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000679/0.5126, allocations: 312 kB / 0.6575 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008519/0.5134, allocations: 0.7657 MB / 0.6583 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007525/0.5142, allocations: 450.3 kB / 0.6587 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.5142, allocations: 3.344 kB / 0.6587 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002546/0.5168, allocations: 1.335 MB / 0.66 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006552/0.5174, allocations: 4.224 MB / 0.6641 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.5175, allocations: 19.44 kB / 0.6642 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007713/0.5182, allocations: 219.7 kB / 0.6644 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/0.5189, allocations: 183.6 kB / 0.6645 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006518/0.5195, allocations: 0.8442 MB / 0.6654 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.5208, allocations: 125.5 kB / 0.6655 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.283e-05/0.5209, allocations: 49.45 kB / 0.6655 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/0.5209, allocations: 4.094 kB / 0.6655 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001599/0.5225, allocations: 1.017 MB / 0.6665 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.5225, allocations: 11.72 kB / 0.6665 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003457/0.5229, allocations: 158.7 kB / 0.6667 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/0.5234, allocations: 162.9 kB / 0.6669 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.5256, allocations: 2.384 MB / 0.6692 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.5266, allocations: 110.6 kB / 0.6693 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.889e-05/0.5267, allocations: 49.47 kB / 0.6693 GB, free: 6.219 MB / 0.4981 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007648/0.5275, allocations: 0.5981 MB / 0.6699 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.5277, allocations: 172.8 kB / 0.6701 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.5296, allocations: 1.07 MB / 0.6711 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.5297, allocations: 6.844 kB / 0.6711 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.5297, allocations: 1.25 kB / 0.6711 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001428/0.5311, allocations: 1.011 MB / 0.6721 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/0.5346, allocations: 2.305 MB / 0.6744 GB, free: 19.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5346, allocations: 0 / 0.6744 GB, free: 19.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.5351, allocations: 98.2 kB / 0.6745 GB, free: 19.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002999/0.5354, allocations: 149.4 kB / 0.6746 GB, free: 19.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.5355, allocations: 17.98 kB / 0.6746 GB, free: 19.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005879/0.536, allocations: 0.8031 MB / 0.6754 GB, free: 19.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5361, allocations: 1.094 kB / 0.6754 GB, free: 19.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.5384, allocations: 1.485 MB / 0.6769 GB, free: 18.33 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005398/0.539, allocations: 347.8 kB / 0.6772 GB, free: 18.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.5391, allocations: 16.75 kB / 0.6772 GB, free: 18.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009119/0.5401, allocations: 104.8 kB / 0.6773 GB, free: 18.06 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.5402, allocations: 38.38 kB / 0.6773 GB, free: 18.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/0.5402, allocations: 27.58 kB / 0.6774 GB, free: 18.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001649/0.5419, allocations: 1.289 MB / 0.6786 GB, free: 17.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5419, allocations: 0 / 0.6786 GB, free: 17.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002319/0.5442, allocations: 0.8573 MB / 0.6795 GB, free: 17.43 MB / 0.5137 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 (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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007786/0.545, allocations: 381.2 kB / 0.6798 GB, free: 17.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002842/0.5479, allocations: 1.512 MB / 0.6813 GB, free: 16.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5479, allocations: 0 / 0.6813 GB, free: 16.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007294/0.5486, allocations: 370.6 kB / 0.6817 GB, free: 16.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003406/0.552, allocations: 0.841 MB / 0.6825 GB, free: 16.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/0.5566, allocations: 3.469 MB / 0.6859 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.5577, allocations: 1.531 MB / 0.6874 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001517/0.5592, allocations: 427.7 kB / 0.6878 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.5595, allocations: 133.5 kB / 0.6879 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.5595, allocations: 1.219 kB / 0.6879 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.04693/0.6065, allocations: 32.35 MB / 0.7195 GB, free: 3.23 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1) Environment - environmentSimulation: