Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0078/0.0078, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.001811/0.001812, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7738/0.7738, allocations: 132.2 MB / 422.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 72.2 kB / 0.5813 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1433, allocations: 80.22 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.5385/0.6818, allocations: 161.6 MB / 0.8175 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005506/0.6874, allocations: 3.62 MB / 0.821 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006549/0.6881, allocations: 11.41 kB / 0.821 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007064/0.6888, allocations: 174.5 kB / 0.8212 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.6906, allocations: 0.5523 MB / 0.8217 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.6919, allocations: 433.5 kB / 0.8222 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002791/0.6947, allocations: 2.544 MB / 0.8246 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.6961, allocations: 0.9346 MB / 0.8255 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.698, allocations: 1.052 MB / 0.8266 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.6992, allocations: 0.7032 MB / 0.8273 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.6994, allocations: 55.69 kB / 0.8273 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.7011, allocations: 0.7391 MB / 0.828 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004646/0.7015, allocations: 316.6 kB / 0.8283 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.7026, allocations: 0.5451 MB / 0.8289 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.705, allocations: 1.412 MB / 0.8303 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.7051, allocations: 4 kB / 0.8303 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.12e-07/0.7051, allocations: 0 / 0.8303 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.246e-05/0.7051, allocations: 0 / 0.8303 GB, free: 1.922 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003155/0.7083, allocations: 1.454 MB / 0.8317 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.7083, allocations: 7.688 kB / 0.8317 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009662/0.7093, allocations: 188.2 kB / 0.8319 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.7109, allocations: 0.8524 MB / 0.8327 GB, free: 92 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.711, allocations: 43.84 kB / 0.8327 GB, free: 76 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.222e-05/0.7111, allocations: 60.09 kB / 0.8328 GB, free: 56 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.7124, allocations: 0.7892 MB / 0.8336 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.7124, allocations: 2.625 kB / 0.8336 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.246e-05/0.7125, allocations: 23.47 kB / 0.8336 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.7125, allocations: 16.41 kB / 0.8336 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000897/0.7134, allocations: 0.5367 MB / 0.8341 GB, free: 15.2 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.004613/0.718, allocations: 4.589 MB / 0.8386 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.7187, allocations: 414.6 kB / 0.839 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.7191, allocations: 246.8 kB / 0.8392 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003002/0.7194, allocations: 195.5 kB / 0.8394 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004655/0.7199, allocations: 289.7 kB / 0.8397 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.7199, allocations: 2.656 kB / 0.8397 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.004705/0.7246, allocations: 1.652 MB / 0.8413 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.7246, allocations: 86.45 kB / 0.8414 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.726, allocations: 1.123 MB / 0.8425 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/0.7261, allocations: 41.08 kB / 0.8425 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/0.7265, allocations: 487.9 kB / 0.843 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.94e-05/0.7266, allocations: 114 kB / 0.8431 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.7268, allocations: 114.7 kB / 0.8432 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.7269, allocations: 325.5 kB / 0.8435 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.7272, allocations: 212.2 kB / 0.8437 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005828/0.7278, allocations: 0.519 MB / 0.8442 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008336/0.7287, allocations: 0.6233 MB / 0.8448 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.7287, allocations: 3.094 kB / 0.8449 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002081/0.7308, allocations: 1.036 MB / 0.8459 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.7308, allocations: 39.58 kB / 0.8459 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.7308, allocations: 9.203 kB / 0.8459 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.7321, allocations: 382.3 kB / 0.8463 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.7323, allocations: 68.66 kB / 0.8463 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.7337, allocations: 1.077 MB / 0.8474 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006683/0.7344, allocations: 79.33 kB / 0.8475 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/0.7344, allocations: 28 kB / 0.8475 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007078/0.7351, allocations: 0.5006 MB / 0.848 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005665/0.7357, allocations: 486 kB / 0.8484 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007334/0.7365, allocations: 0.5606 MB / 0.849 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.45e-06/0.7365, allocations: 4 kB / 0.849 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001433/0.7379, allocations: 0.826 MB / 0.8498 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.738, allocations: 37.69 kB / 0.8498 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.738, allocations: 4 kB / 0.8498 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004943/0.7385, allocations: 222.8 kB / 0.8501 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.7387, allocations: 59.91 kB / 0.8501 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003665/0.7424, allocations: 3.267 MB / 0.8533 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006565/0.743, allocations: 67.97 kB / 0.8534 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/0.7431, allocations: 23.98 kB / 0.8534 GB, free: 14.3 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002032/0.7433, allocations: 220.1 kB / 0.8536 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.7435, allocations: 98.78 kB / 0.8537 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.7447, allocations: 0.7024 MB / 0.8544 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.7447, allocations: 8 kB / 0.8544 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.7447, allocations: 3.938 kB / 0.8544 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.7448, allocations: 0 / 0.8544 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/0.7472, allocations: 1.599 MB / 0.856 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.7472, allocations: 0 / 0.856 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.7473, allocations: 27.92 kB / 0.856 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004884/0.7478, allocations: 249.2 kB / 0.8562 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.7478, allocations: 8 kB / 0.8562 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.7489, allocations: 1.028 MB / 0.8572 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.7489, allocations: 3.984 kB / 0.8572 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.7502, allocations: 0.8335 MB / 0.858 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005031/0.7508, allocations: 215.8 kB / 0.8583 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.751, allocations: 8 kB / 0.8583 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005426/0.7515, allocations: 23.97 kB / 0.8583 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.7517, allocations: 31.91 kB / 0.8583 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.7517, allocations: 19.98 kB / 0.8583 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001321/0.7531, allocations: 0.7877 MB / 0.8591 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.11e-07/0.7531, allocations: 0 / 0.8591 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001634/0.7547, allocations: 431.8 kB / 0.8595 GB, free: 7.836 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005792/0.7553, allocations: 173.5 kB / 0.8597 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002488/0.7578, allocations: 1.212 MB / 0.8609 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7578, allocations: 0 / 0.8609 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006027/0.7584, allocations: 291.5 kB / 0.8611 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.7602, allocations: 459.9 kB / 0.8616 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.763, allocations: 1.773 MB / 0.8633 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007939/0.7638, allocations: 1.177 MB / 0.8645 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007959/0.7646, allocations: 319.8 kB / 0.8648 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.7648, allocations: 59.44 kB / 0.8648 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.7648, allocations: 0 / 0.8648 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of Templates: time 0.03198/0.7968, allocations: 19.42 MB / 0.8838 GB, free: 15.09 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)