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.0009159/0.0009157, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 180.8 kB / 16.92 MB, free: 6.652 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.331/1.331, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9348/0.9348, allocations: 135.3 MB / 427.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003412, allocations: 9.031 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1581, allocations: 82.31 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.449/0.6072, allocations: 157.3 MB / 0.7422 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.6105, allocations: 1.747 MB / 0.7439 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003816/0.6109, allocations: 13.66 kB / 0.7439 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005892/0.6115, allocations: 138.5 kB / 0.7441 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.613, allocations: 499.2 kB / 0.7445 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.6142, allocations: 357.2 kB / 0.7449 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004098/0.6183, allocations: 3.476 MB / 0.7483 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.6195, allocations: 0.7541 MB / 0.749 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.6213, allocations: 0.8932 MB / 0.7499 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008575/0.6222, allocations: 0.7208 MB / 0.7506 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.929e-05/0.6223, allocations: 32.06 kB / 0.7506 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.6239, allocations: 0.8008 MB / 0.7514 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.6242, allocations: 276.8 kB / 0.7517 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005853/0.6247, allocations: 0.5304 MB / 0.7522 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.6258, allocations: 1.008 MB / 0.7532 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.6258, allocations: 0 / 0.7532 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.625e-06/0.6258, allocations: 0 / 0.7532 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.6258, allocations: 0 / 0.7532 GB, free: 3.895 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.001961/0.6278, allocations: 1.259 MB / 0.7544 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.6279, allocations: 15.97 kB / 0.7544 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007331/0.6286, allocations: 191.4 kB / 0.7546 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.6298, allocations: 0.7982 MB / 0.7554 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.6298, allocations: 48.94 kB / 0.7554 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.672e-05/0.6299, allocations: 56 kB / 0.7555 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.6311, allocations: 0.7966 MB / 0.7562 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.6311, allocations: 7.875 kB / 0.7563 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.6312, allocations: 24 kB / 0.7563 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.6312, allocations: 12 kB / 0.7563 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009141/0.6321, allocations: 0.5462 MB / 0.7568 GB, free: 120 kB / 0.5606 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.004044/0.6362, allocations: 4.599 MB / 0.7613 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007214/0.6369, allocations: 427.2 kB / 0.7617 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/0.6373, allocations: 254.4 kB / 0.762 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000295/0.6376, allocations: 198.2 kB / 0.7621 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004874/0.6381, allocations: 293.7 kB / 0.7624 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.715e-06/0.6381, allocations: 0 / 0.7624 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001335/0.6394, allocations: 0.6511 MB / 0.7631 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.6395, allocations: 85.09 kB / 0.7631 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.6408, allocations: 1.118 MB / 0.7642 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.6409, allocations: 37.7 kB / 0.7643 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.6413, allocations: 493.3 kB / 0.7647 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.894e-05/0.6414, allocations: 118.4 kB / 0.7649 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.6414, allocations: 41.7 kB / 0.7649 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.6416, allocations: 326 kB / 0.7652 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.6419, allocations: 208.7 kB / 0.7654 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/0.6426, allocations: 0.5291 MB / 0.7659 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008634/0.6434, allocations: 0.6425 MB / 0.7666 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.6434, allocations: 4 kB / 0.7666 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001178/0.6446, allocations: 0.73 MB / 0.7673 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002122/0.6449, allocations: 272.7 kB / 0.7675 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.6449, allocations: 8 kB / 0.7675 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.6449, allocations: 11.94 kB / 0.7675 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.6467, allocations: 360.1 kB / 0.7679 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003412/0.6501, allocations: 6.087 MB / 0.7738 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009314/0.651, allocations: 95.56 kB / 0.7739 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.6511, allocations: 24 kB / 0.7739 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.6511, allocations: 4 kB / 0.774 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009135/0.652, allocations: 0.5452 MB / 0.7745 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.6521, allocations: 4 kB / 0.7745 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.6521, allocations: 12.03 kB / 0.7745 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/0.6526, allocations: 151.8 kB / 0.7746 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.6526, allocations: 11.94 kB / 0.7747 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006589/0.6533, allocations: 87.53 kB / 0.7747 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.6533, allocations: 31.98 kB / 0.7748 GB, free: 12.69 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.0005479/0.6539, allocations: 471.9 kB / 0.7752 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.654, allocations: 98.72 kB / 0.7753 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008847/0.6549, allocations: 0.4999 MB / 0.7758 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.6549, allocations: 7.938 kB / 0.7758 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.6549, allocations: 4 kB / 0.7758 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.6549, allocations: 3.984 kB / 0.7758 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.6569, allocations: 1.387 MB / 0.7772 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6569, allocations: 4.219 kB / 0.7772 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/0.6575, allocations: 159.8 kB / 0.7773 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.6575, allocations: 4 kB / 0.7773 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.6575, allocations: 11.94 kB / 0.7773 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/0.6604, allocations: 6.024 MB / 0.7832 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.628e-05/0.6605, allocations: 8.125 kB / 0.7832 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009478/0.6614, allocations: 0.6181 MB / 0.7838 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/0.6618, allocations: 219.8 kB / 0.784 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-05/0.6619, allocations: 8 kB / 0.7841 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.6624, allocations: 51.89 kB / 0.7841 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.046e-05/0.6625, allocations: 31.84 kB / 0.7841 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.6625, allocations: 8 kB / 0.7841 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009949/0.6635, allocations: 0.7992 MB / 0.7849 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6635, allocations: 0 / 0.7849 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001153/0.6647, allocations: 403.4 kB / 0.7853 GB, free: 1.504 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.0004591/0.6651, allocations: 173 kB / 0.7855 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00305/0.6682, allocations: 1.103 MB / 0.7865 GB, free: 212 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6682, allocations: 0 / 0.7865 GB, free: 212 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007804/0.669, allocations: 299.9 kB / 0.7868 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.6714, allocations: 467.5 kB / 0.7873 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.6746, allocations: 2.158 MB / 0.7894 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007241/0.6753, allocations: 1.177 MB / 0.7905 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.6755, allocations: 71.42 kB / 0.7906 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of SimCode: time 7.22e-07/0.6755, allocations: 0 / 0.7906 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of Templates: time 0.06464/0.7401, allocations: 64.15 MB / 0.8532 GB, free: 11.85 MB / 0.67 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)