Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009732/0.0009731, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006548/0.006548, allocations: 170 kB / 16.26 MB, free: 6.613 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.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9795/0.9795, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 8 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.166, allocations: 82.32 MB / 0.588 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.4359/0.6019, allocations: 157.3 MB / 0.7416 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003281/0.6053, allocations: 1.754 MB / 0.7433 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004207/0.6057, allocations: 14.09 kB / 0.7433 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005824/0.6063, allocations: 127 kB / 0.7434 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.6078, allocations: 0.4945 MB / 0.7439 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.6089, allocations: 355.5 kB / 0.7442 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003431/0.6123, allocations: 3.482 MB / 0.7476 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.6136, allocations: 0.743 MB / 0.7484 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.6154, allocations: 0.8946 MB / 0.7492 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.6166, allocations: 0.7215 MB / 0.7499 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.6168, allocations: 30.69 kB / 0.75 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.6183, allocations: 0.7995 MB / 0.7507 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003825/0.6187, allocations: 282.2 kB / 0.751 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007193/0.6195, allocations: 0.5261 MB / 0.7515 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.6212, allocations: 1.358 MB / 0.7529 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6212, allocations: 0 / 0.7529 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6212, allocations: 6.812 kB / 0.7529 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.557e-05/0.6213, allocations: 4 kB / 0.7529 GB, free: 3.676 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.002325/0.6236, allocations: 1.263 MB / 0.7541 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.6237, allocations: 12.03 kB / 0.7541 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009267/0.6246, allocations: 182.5 kB / 0.7543 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.6263, allocations: 0.8099 MB / 0.7551 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/0.6263, allocations: 41 kB / 0.7551 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.6265, allocations: 60 kB / 0.7552 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.6279, allocations: 0.7927 MB / 0.7559 GB, free: 356 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.6279, allocations: 11.88 kB / 0.756 GB, free: 344 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.419e-05/0.628, allocations: 20 kB / 0.756 GB, free: 324 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.628, allocations: 19.98 kB / 0.756 GB, free: 304 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.629, allocations: 0.5514 MB / 0.7565 GB, free: 15.75 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.00464/0.6337, allocations: 4.587 MB / 0.761 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/0.6345, allocations: 436.6 kB / 0.7614 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.6349, allocations: 250.4 kB / 0.7617 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003057/0.6352, allocations: 198.2 kB / 0.7619 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005136/0.6357, allocations: 290.2 kB / 0.7621 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/0.6357, allocations: 0 / 0.7621 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001435/0.6372, allocations: 0.6509 MB / 0.7628 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.6373, allocations: 89.11 kB / 0.7629 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.6387, allocations: 1.114 MB / 0.7639 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.6388, allocations: 33.7 kB / 0.764 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000433/0.6392, allocations: 0.4932 MB / 0.7645 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.755e-05/0.6393, allocations: 102.5 kB / 0.7646 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-05/0.6394, allocations: 41.7 kB / 0.7646 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.6396, allocations: 326 kB / 0.7649 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/0.64, allocations: 220.9 kB / 0.7651 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/0.6407, allocations: 0.5213 MB / 0.7656 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009877/0.6417, allocations: 0.6463 MB / 0.7663 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6417, allocations: 0 / 0.7663 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001374/0.6431, allocations: 0.7338 MB / 0.767 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002342/0.6433, allocations: 272.8 kB / 0.7672 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.6434, allocations: 7.984 kB / 0.7672 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.6434, allocations: 15.88 kB / 0.7673 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.6453, allocations: 358.6 kB / 0.7676 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/0.6489, allocations: 6.087 MB / 0.7735 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009123/0.6499, allocations: 95.56 kB / 0.7736 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.199e-05/0.65, allocations: 27.98 kB / 0.7737 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.65, allocations: 4 kB / 0.7737 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009882/0.651, allocations: 0.5412 MB / 0.7742 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.651, allocations: 8.125 kB / 0.7742 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.651, allocations: 8 kB / 0.7742 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005382/0.6516, allocations: 151.8 kB / 0.7743 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.6516, allocations: 11.94 kB / 0.7744 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007758/0.6524, allocations: 99.52 kB / 0.7745 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/0.6524, allocations: 20 kB / 0.7745 GB, free: 12.32 MB / 0.5919 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.0006593/0.6531, allocations: 471.9 kB / 0.7749 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.6533, allocations: 103.1 kB / 0.775 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009556/0.6542, allocations: 0.499 MB / 0.7755 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.6543, allocations: 7.984 kB / 0.7755 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6543, allocations: 0 / 0.7755 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.6543, allocations: 3.984 kB / 0.7755 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.6565, allocations: 1.395 MB / 0.7769 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.6565, allocations: 8.859 kB / 0.7769 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006309/0.6572, allocations: 143.8 kB / 0.777 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.6572, allocations: 4 kB / 0.777 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.6572, allocations: 15.94 kB / 0.777 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003271/0.6605, allocations: 6.02 MB / 0.7829 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.6605, allocations: 7.969 kB / 0.7829 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009273/0.6614, allocations: 0.6142 MB / 0.7835 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003457/0.6618, allocations: 223.8 kB / 0.7837 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.6619, allocations: 8 kB / 0.7838 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/0.6624, allocations: 47.89 kB / 0.7838 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/0.6625, allocations: 35.84 kB / 0.7838 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.6625, allocations: 15.92 kB / 0.7839 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001066/0.6636, allocations: 0.7914 MB / 0.7846 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6636, allocations: 0 / 0.7846 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001212/0.6648, allocations: 411.4 kB / 0.785 GB, free: 1.129 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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0004312/0.6653, allocations: 168.6 kB / 0.7852 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003177/0.6685, allocations: 1.119 MB / 0.7863 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6685, allocations: 0 / 0.7863 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008655/0.6694, allocations: 299.4 kB / 0.7866 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.6719, allocations: 450.5 kB / 0.787 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/0.675, allocations: 2.108 MB / 0.789 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008272/0.6759, allocations: 1.184 MB / 0.7902 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001075/0.677, allocations: 383.7 kB / 0.7906 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.6771, allocations: 67.42 kB / 0.7906 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of SimCode: time 7.71e-07/0.6771, allocations: 3.938 kB / 0.7906 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of Templates: time 0.03059/0.7077, allocations: 17.18 MB / 0.8074 GB, free: 10.32 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)