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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7856/0.7856, allocations: 133.4 MB / 150.1 MB, free: 11.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 404.7 MB, free: 6.098 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 103.5 kB / 485.9 MB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 51.92 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1321, allocations: 80.43 MB / 0.6421 GB, free: 5.445 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.5559/0.6881, allocations: 159.3 MB / 0.7978 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002899/0.691, allocations: 1.777 MB / 0.7995 GB, free: 140 kB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.6914, allocations: 11.94 kB / 0.7995 GB, free: 128 kB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005494/0.692, allocations: 131.3 kB / 0.7996 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.6931, allocations: 0.494 MB / 0.8001 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009805/0.6941, allocations: 356.6 kB / 0.8004 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003099/0.6972, allocations: 3.488 MB / 0.8039 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009722/0.6982, allocations: 0.7566 MB / 0.8046 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.6997, allocations: 0.922 MB / 0.8055 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007874/0.7005, allocations: 0.735 MB / 0.8062 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 8.33e-05/0.7006, allocations: 36 kB / 0.8062 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.702, allocations: 0.8145 MB / 0.807 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.7023, allocations: 286.8 kB / 0.8073 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005522/0.7029, allocations: 0.5089 MB / 0.8078 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.7043, allocations: 1.378 MB / 0.8092 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7043, allocations: 0 / 0.8092 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7043, allocations: 0 / 0.8092 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.7043, allocations: 0 / 0.8092 GB, free: 6.211 MB / 0.5417 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.002211/0.7066, allocations: 1.455 MB / 0.8106 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.7066, allocations: 12.03 kB / 0.8106 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006741/0.7073, allocations: 191.3 kB / 0.8108 GB, free: 4.496 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.7085, allocations: 0.8022 MB / 0.8116 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.7086, allocations: 41 kB / 0.8116 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.91e-05/0.7087, allocations: 56 kB / 0.8116 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.7098, allocations: 0.7927 MB / 0.8124 GB, free: 2.672 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.7098, allocations: 3.938 kB / 0.8124 GB, free: 2.668 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/0.7098, allocations: 24 kB / 0.8124 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.7099, allocations: 15.98 kB / 0.8125 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008762/0.7107, allocations: 0.5344 MB / 0.813 GB, free: 2.09 MB / 0.5417 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.00389/0.7146, allocations: 4.587 MB / 0.8175 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007043/0.7154, allocations: 418.8 kB / 0.8179 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003861/0.7158, allocations: 246 kB / 0.8181 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/0.7161, allocations: 186.2 kB / 0.8183 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004668/0.7165, allocations: 294.4 kB / 0.8186 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 2.555e-06/0.7165, allocations: 0 / 0.8186 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31): time 0.001326/0.7179, allocations: 0.6319 MB / 0.8192 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.7179, allocations: 81.11 kB / 0.8193 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.7192, allocations: 1.118 MB / 0.8203 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.7192, allocations: 37.7 kB / 0.8204 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/0.7196, allocations: 0.4961 MB / 0.8209 GB, free: 9.52 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.428e-05/0.7197, allocations: 106.5 kB / 0.821 GB, free: 9.414 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.7199, allocations: 113.9 kB / 0.8211 GB, free: 9.297 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.72, allocations: 329.9 kB / 0.8214 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.7204, allocations: 210.4 kB / 0.8216 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005779/0.721, allocations: 0.5213 MB / 0.8221 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008512/0.7218, allocations: 0.6387 MB / 0.8227 GB, free: 7.383 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.7218, allocations: 0 / 0.8227 GB, free: 7.383 MB / 0.5573 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001128/0.723, allocations: 0.7163 MB / 0.8234 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.723, allocations: 39.42 kB / 0.8235 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.723, allocations: 4 kB / 0.8235 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.7231, allocations: 11.94 kB / 0.8235 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/0.7249, allocations: 354.2 kB / 0.8238 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00345/0.7283, allocations: 6.083 MB / 0.8298 GB, free: 15.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007492/0.7291, allocations: 99.64 kB / 0.8298 GB, free: 15.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.7292, allocations: 24.22 kB / 0.8299 GB, free: 15.81 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006846/0.7299, allocations: 0.4928 MB / 0.8304 GB, free: 15.32 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005629/0.7305, allocations: 493.8 kB / 0.8308 GB, free: 14.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007616/0.7312, allocations: 0.576 MB / 0.8314 GB, free: 14.04 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.286e-06/0.7312, allocations: 0 / 0.8314 GB, free: 14.04 MB / 0.573 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001022/0.7323, allocations: 0.6385 MB / 0.832 GB, free: 13.39 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.7323, allocations: 33.7 kB / 0.832 GB, free: 13.35 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.7323, allocations: 4 kB / 0.832 GB, free: 13.35 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.7323, allocations: 8 kB / 0.8321 GB, free: 13.34 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/0.7329, allocations: 156 kB / 0.8322 GB, free: 13.19 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.7329, allocations: 11.94 kB / 0.8322 GB, free: 13.18 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006431/0.7335, allocations: 92 kB / 0.8323 GB, free: 13.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.7336, allocations: 20 kB / 0.8323 GB, free: 13.07 MB / 0.573 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.0001833/0.7338, allocations: 218.9 kB / 0.8325 GB, free: 12.85 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.7339, allocations: 98.78 kB / 0.8326 GB, free: 12.75 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009027/0.7348, allocations: 0.4911 MB / 0.8331 GB, free: 12.25 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.7348, allocations: 4 kB / 0.8331 GB, free: 12.25 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7348, allocations: 0 / 0.8331 GB, free: 12.25 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.7348, allocations: 4 kB / 0.8331 GB, free: 12.25 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.7368, allocations: 1.377 MB / 0.8345 GB, free: 10.79 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.7368, allocations: 4 kB / 0.8345 GB, free: 10.79 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006095/0.7375, allocations: 151.7 kB / 0.8346 GB, free: 10.64 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.7375, allocations: 11.92 kB / 0.8346 GB, free: 10.63 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.7375, allocations: 8.219 kB / 0.8346 GB, free: 10.62 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/0.7403, allocations: 6.028 MB / 0.8405 GB, free: 4.359 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7404, allocations: 0 / 0.8405 GB, free: 4.359 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.742, allocations: 1.54 MB / 0.842 GB, free: 2.738 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003671/0.7424, allocations: 215.8 kB / 0.8422 GB, free: 2.508 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.707e-05/0.7425, allocations: 12 kB / 0.8422 GB, free: 2.496 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/0.7429, allocations: 43.95 kB / 0.8423 GB, free: 2.453 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.743, allocations: 31.91 kB / 0.8423 GB, free: 2.422 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.743, allocations: 11.98 kB / 0.8423 GB, free: 2.41 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001007/0.7441, allocations: 0.7914 MB / 0.8431 GB, free: 1.609 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7441, allocations: 0 / 0.8431 GB, free: 1.609 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001445/0.7455, allocations: 407.3 kB / 0.8435 GB, free: 1.211 MB / 0.573 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.0004185/0.7459, allocations: 183.7 kB / 0.8437 GB, free: 1.027 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002979/0.7489, allocations: 1.086 MB / 0.8447 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.7489, allocations: 0 / 0.8447 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007902/0.7497, allocations: 294.4 kB / 0.845 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.7518, allocations: 451 kB / 0.8454 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/0.7554, allocations: 2.338 MB / 0.8477 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008379/0.7562, allocations: 1.188 MB / 0.8489 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001057/0.7573, allocations: 379.7 kB / 0.8492 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.7575, allocations: 71.44 kB / 0.8493 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of SimCode: time 8.12e-07/0.7575, allocations: 0 / 0.8493 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of Templates: time 0.02748/0.7849, allocations: 17.75 MB / 0.8666 GB, free: 9.543 MB / 0.6042 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)