Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 111 kB / 16.41 MB, free: 6.461 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.001022/0.001022, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7746/0.7746, allocations: 132.2 MB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.41 kB / 0.582 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.137, allocations: 80.22 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.4576/0.5946, allocations: 161.6 MB / 0.8182 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003117/0.5977, allocations: 1.75 MB / 0.8199 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004034/0.5981, allocations: 15.88 kB / 0.8199 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000561/0.5988, allocations: 168.4 kB / 0.8201 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.6002, allocations: 0.5462 MB / 0.8206 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.6014, allocations: 395.9 kB / 0.821 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002652/0.6041, allocations: 2.554 MB / 0.8235 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002839/0.6069, allocations: 2.422 MB / 0.8258 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.6087, allocations: 1.044 MB / 0.8268 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.6098, allocations: 0.7198 MB / 0.8275 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.6099, allocations: 57.97 kB / 0.8276 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.6113, allocations: 0.7498 MB / 0.8283 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003459/0.6117, allocations: 311 kB / 0.8286 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007448/0.6125, allocations: 0.549 MB / 0.8292 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.6142, allocations: 1.426 MB / 0.8306 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6142, allocations: 2.656 kB / 0.8306 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6142, allocations: 0 / 0.8306 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.992e-05/0.6142, allocations: 0 / 0.8306 GB, free: 2.398 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.002478/0.6167, allocations: 1.49 MB / 0.832 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.6167, allocations: 11.42 kB / 0.832 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007954/0.6175, allocations: 189.1 kB / 0.8322 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.6189, allocations: 0.8683 MB / 0.8331 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.619, allocations: 42.06 kB / 0.8331 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.435e-05/0.6191, allocations: 56.31 kB / 0.8332 GB, free: 492 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.6203, allocations: 0.8283 MB / 0.834 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.6203, allocations: 6.156 kB / 0.834 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.134e-05/0.6204, allocations: 19.75 kB / 0.834 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.6204, allocations: 16.77 kB / 0.834 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009424/0.6213, allocations: 0.5659 MB / 0.8346 GB, free: 15.59 MB / 0.6075 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.00378/0.6251, allocations: 4.217 MB / 0.8387 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007227/0.6258, allocations: 439.9 kB / 0.8391 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/0.6263, allocations: 347.5 kB / 0.8394 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.6266, allocations: 195.5 kB / 0.8396 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004993/0.6271, allocations: 319.8 kB / 0.8399 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002107/0.6274, allocations: 30.64 kB / 0.8399 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 2.855e-06/0.6274, allocations: 0 / 0.8399 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.004909/0.6323, allocations: 1.573 MB / 0.8415 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.6323, allocations: 87.8 kB / 0.8416 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.6337, allocations: 1.145 MB / 0.8427 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.6337, allocations: 34.77 kB / 0.8427 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000387/0.6341, allocations: 499.4 kB / 0.8432 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.11e-05/0.6342, allocations: 124.5 kB / 0.8433 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.6344, allocations: 107 kB / 0.8434 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6345, allocations: 326.6 kB / 0.8437 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/0.6349, allocations: 233.6 kB / 0.8439 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/0.6356, allocations: 0.5475 MB / 0.8445 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009079/0.6365, allocations: 0.6709 MB / 0.8451 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.6365, allocations: 2.203 kB / 0.8451 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002307/0.6388, allocations: 1.11 MB / 0.8462 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/0.6389, allocations: 39.16 kB / 0.8463 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.6389, allocations: 7.906 kB / 0.8463 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/0.6404, allocations: 431.7 kB / 0.8467 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.6408, allocations: 87.88 kB / 0.8468 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.6422, allocations: 1.096 MB / 0.8478 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008154/0.643, allocations: 51.94 kB / 0.8479 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/0.6431, allocations: 27.98 kB / 0.8479 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007152/0.6438, allocations: 0.5173 MB / 0.8484 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005733/0.6444, allocations: 0.5071 MB / 0.8489 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008215/0.6452, allocations: 0.5999 MB / 0.8495 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.871e-06/0.6453, allocations: 4 kB / 0.8495 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001649/0.6469, allocations: 0.9011 MB / 0.8504 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.6469, allocations: 37.7 kB / 0.8504 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.647, allocations: 4 kB / 0.8504 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005651/0.6475, allocations: 226.9 kB / 0.8506 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.6479, allocations: 92.12 kB / 0.8507 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004171/0.6521, allocations: 3.309 MB / 0.854 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008344/0.653, allocations: 68.19 kB / 0.854 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.653, allocations: 24.06 kB / 0.854 GB, free: 14.41 MB / 0.6231 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * 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 {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.6532, allocations: 216.1 kB / 0.8542 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.6534, allocations: 111.2 kB / 0.8544 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.6548, allocations: 0.781 MB / 0.8551 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.6548, allocations: 4 kB / 0.8551 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6548, allocations: 0 / 0.8551 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003567/0.6552, allocations: 224.3 kB / 0.8553 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.6554, allocations: 8 kB / 0.8553 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005477/0.6559, allocations: 35.95 kB / 0.8554 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.656, allocations: 47.92 kB / 0.8554 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001632/0.6577, allocations: 0.8439 MB / 0.8562 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00141/0.6591, allocations: 1.001 MB / 0.8572 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003534/0.6595, allocations: 216.4 kB / 0.8574 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001035/0.6605, allocations: 0.8119 MB / 0.8582 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of Backend: time 5.71e-07/0.6605, allocations: 4 kB / 0.8582 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00337/0.6639, allocations: 1.346 MB / 0.8595 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of SimCode: time 0.00431/0.6682, allocations: 2.822 MB / 0.8623 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of Templates: time 0.03299/0.7012, allocations: 21.57 MB / 0.8834 GB, free: 472 kB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)