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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008486/0.008486, allocations: 101 kB / 15.73 MB, free: 6.043 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.001924/0.001924, allocations: 188.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9343/0.9343, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 0.5856 GB, free: 3.379 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4256, allocations: 80.91 MB / 0.6646 GB, free: 7.617 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump_dp.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.02811/0.4537, allocations: 29.62 MB / 0.6935 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01541/0.4692, allocations: 9.903 MB / 0.7032 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.4713, allocations: 46 kB / 0.7033 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.4734, allocations: 0.6879 MB / 0.7039 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00438/0.4778, allocations: 1.491 MB / 0.7054 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003511/0.4813, allocations: 1.386 MB / 0.7067 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005114/0.4865, allocations: 3.831 MB / 0.7105 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.4883, allocations: 1.357 MB / 0.7118 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00325/0.4916, allocations: 1.513 MB / 0.7133 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.493, allocations: 1.046 MB / 0.7143 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.4932, allocations: 116 kB / 0.7144 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.4956, allocations: 1.135 MB / 0.7155 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003975/0.496, allocations: 394.6 kB / 0.7159 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009045/0.4969, allocations: 0.7851 MB / 0.7167 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003313/0.5003, allocations: 2.452 MB / 0.7191 GB, free: 9.738 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5003, allocations: 0 / 0.7191 GB, free: 9.738 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5003, allocations: 0 / 0.7191 GB, free: 9.738 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.814e-05/0.5003, allocations: 0 / 0.7191 GB, free: 9.738 MB / 0.545 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.003017/0.5033, allocations: 1.938 MB / 0.721 GB, free: 7.742 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5034, allocations: 12.03 kB / 0.721 GB, free: 7.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.5045, allocations: 254.8 kB / 0.7212 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.5068, allocations: 1.343 MB / 0.7225 GB, free: 6.082 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/0.5068, allocations: 66 kB / 0.7226 GB, free: 6.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.507, allocations: 87.98 kB / 0.7227 GB, free: 5.934 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.5087, allocations: 0.984 MB / 0.7236 GB, free: 4.895 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.5087, allocations: 4 kB / 0.7236 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.013e-05/0.5088, allocations: 32 kB / 0.7237 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.5088, allocations: 20 kB / 0.7237 GB, free: 4.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.5102, allocations: 0.7063 MB / 0.7244 GB, free: 4.133 MB / 0.545 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.005363/0.5156, allocations: 4.855 MB / 0.7291 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.5168, allocations: 0.558 MB / 0.7297 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006147/0.5174, allocations: 314.9 kB / 0.73 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002052/0.5195, allocations: 1.568 MB / 0.7315 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007048/0.5202, allocations: 335 kB / 0.7318 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002159/0.5205, allocations: 51.44 kB / 0.7319 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=43): time 2.364e-06/0.5205, allocations: 0 / 0.7319 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.003018/0.5235, allocations: 1.156 MB / 0.733 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.5235, allocations: 59.41 kB / 0.733 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.5251, allocations: 1.282 MB / 0.7343 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.5251, allocations: 41.7 kB / 0.7343 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005057/0.5256, allocations: 0.6412 MB / 0.735 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.5258, allocations: 145.9 kB / 0.7351 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.526, allocations: 162.1 kB / 0.7353 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5261, allocations: 341.9 kB / 0.7356 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005748/0.5267, allocations: 271.6 kB / 0.7358 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007736/0.5275, allocations: 0.5904 MB / 0.7364 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.5288, allocations: 0.8174 MB / 0.7372 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5288, allocations: 0 / 0.7372 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002159/0.531, allocations: 1.09 MB / 0.7383 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.531, allocations: 42.23 kB / 0.7383 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.531, allocations: 12 kB / 0.7383 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006397/0.5317, allocations: 180.6 kB / 0.7385 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/0.5323, allocations: 139.7 kB / 0.7386 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007378/0.533, allocations: 0.7668 MB / 0.7394 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007143/0.5337, allocations: 36.83 kB / 0.7394 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-05/0.5338, allocations: 43.98 kB / 0.7395 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008927/0.5347, allocations: 0.56 MB / 0.74 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006772/0.5354, allocations: 0.5553 MB / 0.7406 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001094/0.5365, allocations: 0.7395 MB / 0.7413 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.084e-06/0.5365, allocations: 4 kB / 0.7413 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001801/0.5383, allocations: 1.058 MB / 0.7423 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.5384, allocations: 41.7 kB / 0.7424 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.5384, allocations: 7.984 kB / 0.7424 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002033/0.5386, allocations: 104.7 kB / 0.7425 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.5391, allocations: 140 kB / 0.7426 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.5414, allocations: 2.36 MB / 0.7449 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006832/0.5421, allocations: 40.64 kB / 0.7449 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.736e-05/0.5422, allocations: 39.92 kB / 0.745 GB, free: 13.68 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002626/0.5424, allocations: 233.4 kB / 0.7452 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.5426, allocations: 126.4 kB / 0.7453 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.5445, allocations: 0.8726 MB / 0.7462 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.5446, allocations: 7.938 kB / 0.7462 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.5446, allocations: 0 / 0.7462 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001413/0.546, allocations: 0.8725 MB / 0.747 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/0.5492, allocations: 1.799 MB / 0.7488 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5492, allocations: 0 / 0.7488 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.5496, allocations: 75.88 kB / 0.7489 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002838/0.5499, allocations: 124.8 kB / 0.749 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.5499, allocations: 16.05 kB / 0.749 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006156/0.5505, allocations: 0.7473 MB / 0.7497 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5506, allocations: 4 kB / 0.7497 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.5527, allocations: 1.178 MB / 0.7509 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000438/0.5531, allocations: 263.3 kB / 0.7511 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.5533, allocations: 8 kB / 0.7511 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/0.5539, allocations: 27.97 kB / 0.7512 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.554, allocations: 44.44 kB / 0.7512 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/0.5541, allocations: 23.92 kB / 0.7512 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001273/0.5554, allocations: 0.8858 MB / 0.7521 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.1e-07/0.5554, allocations: 0 / 0.7521 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001913/0.5573, allocations: 0.6434 MB / 0.7527 GB, free: 5.5 MB / 0.5762 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/0.5583, allocations: 376.9 kB / 0.7531 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00287/0.5612, allocations: 1.32 MB / 0.7544 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.5612, allocations: 4.375 kB / 0.7544 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007724/0.562, allocations: 330.2 kB / 0.7547 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/0.5646, allocations: 0.5916 MB / 0.7553 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/0.5688, allocations: 2.23 MB / 0.7574 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.5698, allocations: 1.267 MB / 0.7587 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001136/0.571, allocations: 322.5 kB / 0.759 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.5712, allocations: 99.41 kB / 0.7591 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of SimCode: time 8.72e-07/0.5712, allocations: 0 / 0.7591 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of Templates: time 0.04465/0.6159, allocations: 25.77 MB / 0.7843 GB, free: 5.453 MB / 0.6075 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)