Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 107.7 kB / 16.41 MB, free: 6.504 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.00166/0.00166, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7683/0.7683, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.19 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1257, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.4432/0.5689, allocations: 161.6 MB / 0.8182 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00285/0.5718, allocations: 1.763 MB / 0.8199 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000366/0.5721, allocations: 12 kB / 0.8199 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005685/0.5727, allocations: 165.8 kB / 0.82 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.5741, allocations: 0.5474 MB / 0.8206 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.5752, allocations: 400.8 kB / 0.821 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002585/0.5778, allocations: 2.53 MB / 0.8234 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.579, allocations: 0.9222 MB / 0.8243 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.5806, allocations: 1.04 MB / 0.8254 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.5817, allocations: 0.7135 MB / 0.826 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.5819, allocations: 53.09 kB / 0.8261 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.5833, allocations: 0.7427 MB / 0.8268 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003502/0.5836, allocations: 305.4 kB / 0.8271 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007314/0.5844, allocations: 0.5415 MB / 0.8276 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.5859, allocations: 1.407 MB / 0.829 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5859, allocations: 2.094 kB / 0.829 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5859, allocations: 0 / 0.829 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.175e-05/0.586, allocations: 0 / 0.829 GB, free: 3.543 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002345/0.5883, allocations: 1.451 MB / 0.8304 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.5884, allocations: 7.844 kB / 0.8304 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007783/0.5891, allocations: 188.1 kB / 0.8306 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.5905, allocations: 0.8527 MB / 0.8315 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.5905, allocations: 41.88 kB / 0.8315 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.071e-05/0.5906, allocations: 60.92 kB / 0.8316 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.5917, allocations: 0.8005 MB / 0.8323 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.5918, allocations: 2.438 kB / 0.8323 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.5918, allocations: 23.97 kB / 0.8324 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.5918, allocations: 16.17 kB / 0.8324 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008598/0.5927, allocations: 0.5349 MB / 0.8329 GB, free: 0.8164 MB / 0.5919 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.003895/0.5966, allocations: 4.595 MB / 0.8374 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006631/0.5973, allocations: 411.8 kB / 0.8378 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003679/0.5977, allocations: 251.5 kB / 0.838 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.5979, allocations: 191.6 kB / 0.8382 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004588/0.5984, allocations: 291.2 kB / 0.8385 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.395e-06/0.5984, allocations: 0 / 0.8385 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001309/0.5997, allocations: 0.6335 MB / 0.8391 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.5998, allocations: 87.5 kB / 0.8392 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.6013, allocations: 1.115 MB / 0.8403 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.6014, allocations: 35.02 kB / 0.8403 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.6018, allocations: 494.4 kB / 0.8408 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.259e-05/0.6018, allocations: 113.1 kB / 0.8409 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.602, allocations: 110.9 kB / 0.841 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.6021, allocations: 327.4 kB / 0.8413 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.6025, allocations: 218.3 kB / 0.8415 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005474/0.603, allocations: 0.5209 MB / 0.842 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008276/0.6039, allocations: 0.6254 MB / 0.8426 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.6039, allocations: 6.906 kB / 0.8426 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001142/0.605, allocations: 0.7255 MB / 0.8433 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.6051, allocations: 33.52 kB / 0.8434 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.6051, allocations: 6.844 kB / 0.8434 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.6051, allocations: 12.89 kB / 0.8434 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.6069, allocations: 349.4 kB / 0.8437 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/0.61, allocations: 6.079 MB / 0.8497 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006202/0.6106, allocations: 73.95 kB / 0.8497 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.6107, allocations: 23.53 kB / 0.8498 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006277/0.6113, allocations: 0.4951 MB / 0.8502 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004953/0.6118, allocations: 487.8 kB / 0.8507 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006884/0.6125, allocations: 0.5574 MB / 0.8513 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.946e-06/0.6125, allocations: 224 / 0.8513 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009716/0.6135, allocations: 0.6573 MB / 0.8519 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.6136, allocations: 37.8 kB / 0.8519 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.6136, allocations: 4.656 kB / 0.8519 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.6136, allocations: 11.53 kB / 0.8519 GB, free: 500 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/0.6141, allocations: 158.4 kB / 0.8521 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.6141, allocations: 11.94 kB / 0.8521 GB, free: 396 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005999/0.6147, allocations: 67.97 kB / 0.8522 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.6148, allocations: 27.98 kB / 0.8522 GB, free: 300 kB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.615, allocations: 225.2 kB / 0.8524 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.6151, allocations: 94.83 kB / 0.8525 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008705/0.616, allocations: 499 kB / 0.853 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.616, allocations: 0 / 0.853 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.616, allocations: 0 / 0.853 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003244/0.6163, allocations: 211.8 kB / 0.8532 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.6165, allocations: 8 kB / 0.8532 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.6168, allocations: 19.97 kB / 0.8532 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.6169, allocations: 27.91 kB / 0.8532 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001472/0.6184, allocations: 0.7736 MB / 0.854 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001151/0.6196, allocations: 0.9311 MB / 0.8549 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003009/0.6199, allocations: 176.3 kB / 0.8551 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009172/0.6208, allocations: 0.7875 MB / 0.8558 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of Backend: time 5.31e-07/0.6208, allocations: 0 / 0.8558 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00361/0.6244, allocations: 1.17 MB / 0.857 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of SimCode: time 0.003692/0.6281, allocations: 2.58 MB / 0.8595 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of Templates: time 0.02951/0.6576, allocations: 19.41 MB / 0.8785 GB, free: 5.461 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)