Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 199.2 kB / 16.79 MB, free: 6.828 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.352/1.352, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9087/0.9087, allocations: 135.1 MB / 425.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 65.31 kB / 0.5053 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.16, allocations: 80.93 MB / 0.5843 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.449/0.609, allocations: 159.4 MB / 0.74 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003093/0.6122, allocations: 1.773 MB / 0.7417 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003399/0.6125, allocations: 9.375 kB / 0.7417 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006127/0.6132, allocations: 135.3 kB / 0.7418 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.6145, allocations: 0.4987 MB / 0.7423 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.6155, allocations: 348.2 kB / 0.7427 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003134/0.6187, allocations: 3.473 MB / 0.7461 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000991/0.6197, allocations: 0.757 MB / 0.7468 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.6213, allocations: 0.9095 MB / 0.7477 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008415/0.6222, allocations: 0.7302 MB / 0.7484 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.547e-05/0.6223, allocations: 38.16 kB / 0.7484 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.6238, allocations: 0.8053 MB / 0.7492 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002826/0.6241, allocations: 286.2 kB / 0.7495 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005732/0.6247, allocations: 0.5171 MB / 0.75 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.6257, allocations: 1.021 MB / 0.751 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6257, allocations: 0 / 0.751 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.12e-07/0.6257, allocations: 4 kB / 0.751 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.6258, allocations: 0 / 0.751 GB, free: 2.82 MB / 0.5606 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.002152/0.6279, allocations: 1.447 MB / 0.7524 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.628, allocations: 8.031 kB / 0.7524 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007251/0.6287, allocations: 194.4 kB / 0.7526 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.6298, allocations: 0.7944 MB / 0.7534 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/0.6299, allocations: 49 kB / 0.7534 GB, free: 220 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.837e-05/0.6299, allocations: 59.98 kB / 0.7535 GB, free: 160 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.6311, allocations: 0.7889 MB / 0.7542 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.6311, allocations: 7.938 kB / 0.7543 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.896e-05/0.6311, allocations: 20 kB / 0.7543 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.6312, allocations: 16 kB / 0.7543 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000861/0.632, allocations: 0.5344 MB / 0.7548 GB, free: 14.71 MB / 0.5762 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.003696/0.6357, allocations: 4.587 MB / 0.7593 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006927/0.6364, allocations: 421 kB / 0.7597 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003673/0.6368, allocations: 246.4 kB / 0.7599 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003012/0.6371, allocations: 198.2 kB / 0.7601 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004736/0.6376, allocations: 287.2 kB / 0.7604 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.6376, allocations: 0 / 0.7604 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001301/0.6389, allocations: 0.6394 MB / 0.761 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.639, allocations: 85.09 kB / 0.7611 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.6402, allocations: 1.114 MB / 0.7622 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.6403, allocations: 33.7 kB / 0.7622 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.6407, allocations: 497.1 kB / 0.7627 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.425e-05/0.6408, allocations: 110.5 kB / 0.7628 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.6409, allocations: 113.9 kB / 0.7629 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.641, allocations: 329.9 kB / 0.7632 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.6414, allocations: 218.4 kB / 0.7634 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/0.642, allocations: 0.5213 MB / 0.7639 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008405/0.6428, allocations: 0.6287 MB / 0.7645 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6429, allocations: 0 / 0.7645 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001157/0.644, allocations: 0.7169 MB / 0.7652 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.6441, allocations: 34.36 kB / 0.7653 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.6441, allocations: 8 kB / 0.7653 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.6441, allocations: 12 kB / 0.7653 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.6445, allocations: 111.8 kB / 0.7654 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.6446, allocations: 8 kB / 0.7654 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007121/0.6453, allocations: 103.3 kB / 0.7655 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.6453, allocations: 24 kB / 0.7655 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006647/0.646, allocations: 0.493 MB / 0.766 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005141/0.6465, allocations: 496.5 kB / 0.7665 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007296/0.6473, allocations: 0.5702 MB / 0.767 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.6473, allocations: 0 / 0.767 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001019/0.6483, allocations: 0.6424 MB / 0.7677 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.6484, allocations: 33.7 kB / 0.7677 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6484, allocations: 5.5 kB / 0.7677 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.6484, allocations: 8 kB / 0.7677 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.6487, allocations: 103.8 kB / 0.7678 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.6488, allocations: 11.98 kB / 0.7678 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00072/0.6495, allocations: 84.27 kB / 0.7679 GB, free: 328 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.6495, allocations: 24 kB / 0.7679 GB, free: 304 kB / 0.5762 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): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.6497, allocations: 228 kB / 0.7682 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.6499, allocations: 99.02 kB / 0.7682 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008911/0.6508, allocations: 491.6 kB / 0.7687 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.6508, allocations: 4 kB / 0.7687 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6508, allocations: 3.938 kB / 0.7687 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.6508, allocations: 15.92 kB / 0.7687 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.6528, allocations: 1.375 MB / 0.7701 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.6528, allocations: 4.875 kB / 0.7701 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.6531, allocations: 59.89 kB / 0.7701 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.6531, allocations: 4 kB / 0.7701 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.6531, allocations: 8 kB / 0.7702 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.6531, allocations: 4 kB / 0.7702 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.6531, allocations: 7.938 kB / 0.7702 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008005/0.654, allocations: 0.6024 MB / 0.7708 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/0.6543, allocations: 215.8 kB / 0.771 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.6544, allocations: 11.98 kB / 0.771 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.6548, allocations: 43.95 kB / 0.771 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.899e-05/0.6549, allocations: 31.91 kB / 0.771 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.6549, allocations: 12 kB / 0.7711 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009371/0.6559, allocations: 0.7875 MB / 0.7718 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6559, allocations: 0 / 0.7718 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001305/0.6572, allocations: 415.3 kB / 0.7722 GB, free: 11.75 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004693/0.6577, allocations: 174.7 kB / 0.7724 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.659, allocations: 0.8104 MB / 0.7732 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.659, allocations: 0 / 0.7732 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003424/0.6594, allocations: 195.7 kB / 0.7734 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.6614, allocations: 462 kB / 0.7738 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/0.6643, allocations: 2.098 MB / 0.7759 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.665, allocations: 1.177 MB / 0.777 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.6653, allocations: 75.42 kB / 0.7771 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of SimCode: time 8.12e-07/0.6653, allocations: 0 / 0.7771 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of Templates: time 0.02368/0.689, allocations: 15.91 MB / 0.7926 GB, free: 6.902 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)