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.001106/0.001106, allocations: 106 kB / 16.41 MB, free: 6.492 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.001071/0.001071, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7512/0.7512, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 68.2 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1632, allocations: 80.92 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.5723/0.7355, allocations: 161.6 MB / 0.8231 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003148/0.7387, allocations: 1.748 MB / 0.8248 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004662/0.7392, allocations: 15.09 kB / 0.8249 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006505/0.7399, allocations: 165.7 kB / 0.825 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.7415, allocations: 0.5274 MB / 0.8255 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.7427, allocations: 390.6 kB / 0.8259 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002512/0.7452, allocations: 2.525 MB / 0.8284 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.7464, allocations: 0.9338 MB / 0.8293 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.7481, allocations: 1.034 MB / 0.8303 GB, free: 20 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009224/0.7491, allocations: 0.7063 MB / 0.831 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.7492, allocations: 55.22 kB / 0.831 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.7507, allocations: 0.7437 MB / 0.8318 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.751, allocations: 297.4 kB / 0.832 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006509/0.7517, allocations: 0.5449 MB / 0.8326 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.7533, allocations: 1.406 MB / 0.8339 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7533, allocations: 0 / 0.8339 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7533, allocations: 0 / 0.8339 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.68e-05/0.7534, allocations: 4 kB / 0.8339 GB, free: 13.85 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002191/0.7556, allocations: 1.451 MB / 0.8354 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.7556, allocations: 10.64 kB / 0.8354 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007249/0.7563, allocations: 186.7 kB / 0.8356 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.7576, allocations: 0.8479 MB / 0.8364 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.7576, allocations: 46.62 kB / 0.8364 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.359e-05/0.7577, allocations: 57.78 kB / 0.8365 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.7588, allocations: 0.7931 MB / 0.8373 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.7589, allocations: 6.312 kB / 0.8373 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.074e-05/0.7589, allocations: 21.44 kB / 0.8373 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.7589, allocations: 15 kB / 0.8373 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008366/0.7598, allocations: 0.5357 MB / 0.8378 GB, free: 11.13 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.003839/0.7636, allocations: 4.593 MB / 0.8423 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/0.7643, allocations: 411.5 kB / 0.8427 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.7646, allocations: 243.4 kB / 0.8429 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/0.7649, allocations: 198.8 kB / 0.8431 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004536/0.7654, allocations: 294.6 kB / 0.8434 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 3.377e-06/0.7654, allocations: 3.984 kB / 0.8434 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001272/0.7667, allocations: 0.6412 MB / 0.844 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.7667, allocations: 82.39 kB / 0.8441 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.768, allocations: 1.119 MB / 0.8452 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/0.768, allocations: 38.52 kB / 0.8452 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.7684, allocations: 484.3 kB / 0.8457 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.664e-05/0.7685, allocations: 111.5 kB / 0.8458 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.7686, allocations: 119.2 kB / 0.8459 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.7687, allocations: 326.6 kB / 0.8462 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.7691, allocations: 214.5 kB / 0.8464 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/0.7696, allocations: 0.5269 MB / 0.8469 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007834/0.7704, allocations: 0.6261 MB / 0.8476 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7704, allocations: 0 / 0.8476 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001125/0.7716, allocations: 0.7218 MB / 0.8483 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.7716, allocations: 32.58 kB / 0.8483 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.7716, allocations: 6.719 kB / 0.8483 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.7717, allocations: 13.44 kB / 0.8483 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.7734, allocations: 351 kB / 0.8486 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/0.7763, allocations: 6.083 MB / 0.8546 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007636/0.7771, allocations: 67.62 kB / 0.8547 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.7772, allocations: 27.98 kB / 0.8547 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006951/0.7779, allocations: 0.4928 MB / 0.8552 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000499/0.7784, allocations: 494.1 kB / 0.8556 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006986/0.7791, allocations: 0.5645 MB / 0.8562 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.299e-06/0.7791, allocations: 7.875 kB / 0.8562 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001001/0.7801, allocations: 0.6429 MB / 0.8568 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.7802, allocations: 33.7 kB / 0.8569 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7802, allocations: 8.062 kB / 0.8569 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.7802, allocations: 8 kB / 0.8569 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.7807, allocations: 151.8 kB / 0.857 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.7807, allocations: 8 kB / 0.857 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/0.7813, allocations: 72.06 kB / 0.8571 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.7814, allocations: 27.98 kB / 0.8571 GB, free: 9.57 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 (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.0001906/0.7816, allocations: 224 kB / 0.8573 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.7817, allocations: 98.78 kB / 0.8574 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008739/0.7826, allocations: 0.4911 MB / 0.8579 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.7826, allocations: 4 kB / 0.8579 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.7826, allocations: 0 / 0.8579 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.7826, allocations: 7.984 kB / 0.8579 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.7845, allocations: 1.379 MB / 0.8593 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.7845, allocations: 4 kB / 0.8593 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/0.7851, allocations: 143.8 kB / 0.8594 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.7851, allocations: 4 kB / 0.8594 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.7851, allocations: 11.94 kB / 0.8594 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002616/0.7878, allocations: 6.021 MB / 0.8653 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7878, allocations: 7.875 kB / 0.8653 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008134/0.7886, allocations: 0.5907 MB / 0.8659 GB, free: 232 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/0.7889, allocations: 215.8 kB / 0.8661 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.7891, allocations: 11.94 kB / 0.8661 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.7895, allocations: 15.98 kB / 0.8661 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.384e-05/0.7896, allocations: 43.83 kB / 0.8662 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.7896, allocations: 8 kB / 0.8662 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009515/0.7906, allocations: 0.7875 MB / 0.8669 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7906, allocations: 0 / 0.8669 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001187/0.7918, allocations: 411.4 kB / 0.8673 GB, free: 14.72 MB / 0.6387 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.0004091/0.7922, allocations: 170.8 kB / 0.8675 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002964/0.7952, allocations: 1.097 MB / 0.8686 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.7952, allocations: 0 / 0.8686 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007302/0.7959, allocations: 283.8 kB / 0.8688 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.7979, allocations: 460.7 kB / 0.8693 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.8011, allocations: 1.841 MB / 0.8711 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.8021, allocations: 1.188 MB / 0.8722 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.8024, allocations: 63.44 kB / 0.8723 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of SimCode: time 6.21e-07/0.8024, allocations: 0 / 0.8723 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of Templates: time 0.06413/0.8665, allocations: 64.48 MB / 0.9353 GB, free: 9.043 MB / 0.7012 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)