Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 110.8 kB / 16.42 MB, free: 6.449 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.001636/0.001636, allocations: 187.9 kB / 17.35 MB, free: 5.699 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 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7816/0.7816, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 71.47 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1429, allocations: 80.2 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.5392/0.6822, allocations: 167.8 MB / 0.8242 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005525/0.6877, allocations: 4.061 MB / 0.8282 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004022/0.6882, allocations: 17.97 kB / 0.8282 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007166/0.6889, allocations: 255.8 kB / 0.8284 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.6907, allocations: 0.7031 MB / 0.8291 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.6921, allocations: 481.4 kB / 0.8296 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002838/0.6949, allocations: 2.778 MB / 0.8323 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002822/0.6978, allocations: 2.578 MB / 0.8348 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.6999, allocations: 1.284 MB / 0.8361 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009/0.7008, allocations: 0.8652 MB / 0.8369 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.7009, allocations: 72.88 kB / 0.837 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.7025, allocations: 0.8184 MB / 0.8378 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003608/0.7028, allocations: 372.2 kB / 0.8381 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007018/0.7035, allocations: 0.616 MB / 0.8387 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.7053, allocations: 1.629 MB / 0.8403 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.7054, allocations: 3.984 kB / 0.8403 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7054, allocations: 0 / 0.8403 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.797e-05/0.7054, allocations: 4 kB / 0.8403 GB, free: 10.55 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002506/0.7079, allocations: 1.66 MB / 0.8419 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.708, allocations: 7.625 kB / 0.8419 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000802/0.7088, allocations: 212.7 kB / 0.8422 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.7101, allocations: 0.9409 MB / 0.8431 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.7102, allocations: 48.53 kB / 0.8431 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.7103, allocations: 61.31 kB / 0.8432 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.7117, allocations: 0.9885 MB / 0.8441 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.7117, allocations: 3.938 kB / 0.8441 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-05/0.7118, allocations: 23.59 kB / 0.8442 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.7118, allocations: 15.12 kB / 0.8442 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.7131, allocations: 0.8027 MB / 0.845 GB, free: 7.363 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.004395/0.7175, allocations: 4.77 MB / 0.8496 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/0.7198, allocations: 4.007 MB / 0.8535 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000472/0.7203, allocations: 358 kB / 0.8539 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.7206, allocations: 199.3 kB / 0.8541 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005239/0.7212, allocations: 325.4 kB / 0.8544 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002344/0.7214, allocations: 31.78 kB / 0.8544 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=35): time 1.904e-06/0.7214, allocations: 0 / 0.8544 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35): time 0.005361/0.7268, allocations: 1.753 MB / 0.8561 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.7268, allocations: 81.11 kB / 0.8562 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.7282, allocations: 1.185 MB / 0.8574 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.7283, allocations: 37.64 kB / 0.8574 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00038/0.7287, allocations: 0.5168 MB / 0.8579 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.952e-05/0.7288, allocations: 126.9 kB / 0.858 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.7289, allocations: 126.1 kB / 0.8581 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.729, allocations: 329.9 kB / 0.8585 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/0.7294, allocations: 238.9 kB / 0.8587 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/0.7301, allocations: 0.5574 MB / 0.8592 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/0.731, allocations: 0.6817 MB / 0.8599 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.731, allocations: 4 kB / 0.8599 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002351/0.7334, allocations: 1.127 MB / 0.861 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.7335, allocations: 37.8 kB / 0.861 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.7335, allocations: 8 kB / 0.861 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.7349, allocations: 400.2 kB / 0.8614 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.7352, allocations: 71.89 kB / 0.8615 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.7364, allocations: 1.051 MB / 0.8625 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009763/0.7374, allocations: 67.92 kB / 0.8626 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.7375, allocations: 24 kB / 0.8626 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000713/0.7382, allocations: 0.532 MB / 0.8631 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005781/0.7388, allocations: 0.5137 MB / 0.8636 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008071/0.7396, allocations: 0.5993 MB / 0.8642 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.509e-06/0.7396, allocations: 8 kB / 0.8642 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001614/0.7412, allocations: 0.924 MB / 0.8651 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.7413, allocations: 37.7 kB / 0.8652 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.7413, allocations: 4.625 kB / 0.8652 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/0.7419, allocations: 256.5 kB / 0.8654 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.7422, allocations: 75.81 kB / 0.8655 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003893/0.7461, allocations: 3.345 MB / 0.8687 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008481/0.747, allocations: 71.89 kB / 0.8688 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.7471, allocations: 27.94 kB / 0.8688 GB, free: 14.32 MB / 0.6387 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 {(1,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.7472, allocations: 224.1 kB / 0.8691 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.7474, allocations: 111.3 kB / 0.8692 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.7489, allocations: 0.8086 MB / 0.8699 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.7489, allocations: 3.984 kB / 0.87 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.749, allocations: 3.938 kB / 0.87 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/0.7493, allocations: 236.3 kB / 0.8702 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.7495, allocations: 7.984 kB / 0.8702 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005976/0.7501, allocations: 43.88 kB / 0.8702 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.7502, allocations: 51.86 kB / 0.8703 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001633/0.7518, allocations: 0.8518 MB / 0.8711 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001312/0.7532, allocations: 1.012 MB / 0.8721 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003541/0.7535, allocations: 204.3 kB / 0.8723 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001043/0.7546, allocations: 0.8367 MB / 0.8731 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of Backend: time 3.31e-07/0.7546, allocations: 0 / 0.8731 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002721/0.7573, allocations: 1.224 MB / 0.8743 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of SimCode: time 0.004178/0.7615, allocations: 2.834 MB / 0.8771 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of Templates: time 0.03523/0.7967, allocations: 22.24 MB / 0.8988 GB, free: 15.73 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)