Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004765/0.004766, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001142/0.001142, allocations: 196.8 kB / 16.68 MB, free: 5.926 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8057/0.8057, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 68.17 kB / 0.5856 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1607, allocations: 80.92 MB / 0.6647 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.5381/0.6988, allocations: 161.6 MB / 0.8225 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005064/0.7039, allocations: 3.625 MB / 0.826 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003603/0.7043, allocations: 15.72 kB / 0.826 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006014/0.705, allocations: 165 kB / 0.8262 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.7064, allocations: 0.5538 MB / 0.8267 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.7076, allocations: 437.4 kB / 0.8271 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002518/0.7101, allocations: 2.542 MB / 0.8296 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.7112, allocations: 0.9356 MB / 0.8305 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.7129, allocations: 1.051 MB / 0.8316 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007531/0.7137, allocations: 0.6995 MB / 0.8323 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.742e-05/0.7138, allocations: 55.97 kB / 0.8323 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.7153, allocations: 0.7428 MB / 0.833 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003119/0.7156, allocations: 313.2 kB / 0.8333 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006019/0.7162, allocations: 0.5334 MB / 0.8339 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.7178, allocations: 1.418 MB / 0.8352 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7178, allocations: 0 / 0.8352 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7178, allocations: 0 / 0.8352 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.98e-05/0.7179, allocations: 2.906 kB / 0.8352 GB, free: 12.22 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.00214/0.72, allocations: 1.449 MB / 0.8367 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.7201, allocations: 11.14 kB / 0.8367 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007729/0.7208, allocations: 188.3 kB / 0.8368 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.7221, allocations: 0.8567 MB / 0.8377 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.7221, allocations: 43.09 kB / 0.8377 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.771e-05/0.7222, allocations: 55.72 kB / 0.8378 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.7234, allocations: 0.7932 MB / 0.8386 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.7234, allocations: 6.781 kB / 0.8386 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.447e-05/0.7235, allocations: 23.59 kB / 0.8386 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.7235, allocations: 16.47 kB / 0.8386 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009033/0.7244, allocations: 0.5318 MB / 0.8391 GB, free: 9.5 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.004271/0.7287, allocations: 4.584 MB / 0.8436 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006896/0.7294, allocations: 415.7 kB / 0.844 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.7297, allocations: 248.7 kB / 0.8442 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003058/0.7301, allocations: 191.5 kB / 0.8444 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005066/0.7306, allocations: 308.8 kB / 0.8447 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.775e-06/0.7306, allocations: 0 / 0.8447 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.003774/0.7344, allocations: 1.315 MB / 0.846 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.7344, allocations: 79.58 kB / 0.8461 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.7358, allocations: 1.126 MB / 0.8472 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.593e-05/0.7358, allocations: 38.89 kB / 0.8472 GB, free: 3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.7362, allocations: 490.5 kB / 0.8477 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.464e-05/0.7363, allocations: 105.7 kB / 0.8478 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.7365, allocations: 118.8 kB / 0.8479 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.7366, allocations: 323.2 kB / 0.8482 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.737, allocations: 218.6 kB / 0.8484 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/0.7376, allocations: 0.5111 MB / 0.8489 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000835/0.7385, allocations: 0.6255 MB / 0.8495 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.7385, allocations: 4 kB / 0.8495 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002276/0.7408, allocations: 1.046 MB / 0.8505 GB, free: 76 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.61e-05/0.7408, allocations: 34.33 kB / 0.8506 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.7408, allocations: 4 kB / 0.8506 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.7422, allocations: 360.5 kB / 0.8509 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.7425, allocations: 59.91 kB / 0.851 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.7435, allocations: 1.015 MB / 0.852 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006892/0.7442, allocations: 75.56 kB / 0.852 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.7443, allocations: 27.98 kB / 0.8521 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007407/0.745, allocations: 0.4967 MB / 0.8525 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005535/0.7456, allocations: 489.9 kB / 0.853 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007506/0.7463, allocations: 0.5569 MB / 0.8536 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.7464, allocations: 0 / 0.8536 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001508/0.7479, allocations: 0.8341 MB / 0.8544 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.7479, allocations: 34.33 kB / 0.8544 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.7479, allocations: 15.92 kB / 0.8544 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005037/0.7484, allocations: 204.7 kB / 0.8546 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.7486, allocations: 55.91 kB / 0.8547 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003801/0.7525, allocations: 3.346 MB / 0.8579 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007248/0.7532, allocations: 67.97 kB / 0.858 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/0.7533, allocations: 27.98 kB / 0.858 GB, free: 7.961 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_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 (34): * Single equations (assignments): 32 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.000212/0.7535, allocations: 213.1 kB / 0.8582 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.7536, allocations: 102.7 kB / 0.8583 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.7549, allocations: 0.7025 MB / 0.859 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.755, allocations: 8 kB / 0.859 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.755, allocations: 4 kB / 0.859 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.755, allocations: 0 / 0.859 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.7573, allocations: 1.603 MB / 0.8606 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.7573, allocations: 7.938 kB / 0.8606 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.7574, allocations: 23.92 kB / 0.8606 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004464/0.7579, allocations: 222.3 kB / 0.8608 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.7579, allocations: 12 kB / 0.8608 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008792/0.7588, allocations: 0.9778 MB / 0.8618 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.7588, allocations: 4.031 kB / 0.8618 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.76, allocations: 0.8214 MB / 0.8626 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/0.7604, allocations: 215.8 kB / 0.8628 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.7605, allocations: 11.94 kB / 0.8628 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.7609, allocations: 27.84 kB / 0.8628 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.761, allocations: 27.97 kB / 0.8629 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.761, allocations: 16 kB / 0.8629 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001003/0.762, allocations: 0.7955 MB / 0.8637 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7621, allocations: 0 / 0.8637 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001229/0.7633, allocations: 423.4 kB / 0.8641 GB, free: 1.566 MB / 0.6231 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004011/0.7637, allocations: 184.6 kB / 0.8642 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001921/0.7656, allocations: 1.074 MB / 0.8653 GB, free: 292 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.7656, allocations: 0 / 0.8653 GB, free: 292 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004906/0.7661, allocations: 235.1 kB / 0.8655 GB, free: 56 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.7681, allocations: 458 kB / 0.866 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.7708, allocations: 1.754 MB / 0.8677 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007078/0.7715, allocations: 1.188 MB / 0.8688 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007323/0.7723, allocations: 311.8 kB / 0.8691 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.7724, allocations: 55.44 kB / 0.8692 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of SimCode: time 7.82e-07/0.7724, allocations: 0 / 0.8692 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of Templates: time 0.03228/0.8047, allocations: 19.79 MB / 0.8885 GB, free: 8.613 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)