Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.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/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/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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006869/0.006869, allocations: 171.1 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7402/0.7402, allocations: 132.3 MB / 148.1 MB, free: 232 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.2 MB / 403.2 MB, free: 6.762 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009218/0.0009218, allocations: 103.9 kB / 485.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003484, allocations: 8 kB / 0.5641 GB, free: 2.172 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4749/0.4753, allocations: 81.58 MB / 0.6437 GB, free: 39.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.046/5.521, allocations: 1.831 GB / 2.474 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/5.522, allocations: 87.95 kB / 2.474 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8951/6.417, allocations: 222.4 MB / 2.692 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.158e-06/6.417, allocations: 3.781 kB / 2.692 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.754e-05/6.417, allocations: 3.406 kB / 2.692 GB, free: 203.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001032/6.418, allocations: 0.6021 MB / 2.692 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/6.418, allocations: 11.69 kB / 2.692 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/6.418, allocations: 56.16 kB / 2.692 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/6.419, allocations: 308.3 kB / 2.693 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/6.419, allocations: 12.62 kB / 2.693 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/6.419, allocations: 14.28 kB / 2.693 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/6.419, allocations: 190.2 kB / 2.693 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/6.419, allocations: 0 / 2.693 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/6.419, allocations: 7.094 kB / 2.693 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/6.419, allocations: 7.797 kB / 2.693 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/6.42, allocations: 126.3 kB / 2.693 GB, free: 202.6 MB / 0.6823 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.0009202/6.421, allocations: 0.7907 MB / 2.694 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/6.421, allocations: 81.34 kB / 2.694 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/6.421, allocations: 189.2 kB / 2.694 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/6.421, allocations: 37.56 kB / 2.694 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/6.421, allocations: 0 / 2.694 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0006075/6.422, allocations: 223.5 kB / 2.694 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/6.422, allocations: 57.81 kB / 2.694 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/6.422, allocations: 232.5 kB / 2.694 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/6.422, allocations: 35.86 kB / 2.695 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/6.422, allocations: 143.9 kB / 2.695 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/6.422, allocations: 43.67 kB / 2.695 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/6.422, allocations: 3.938 kB / 2.695 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.792e-05/6.422, allocations: 324.5 kB / 2.695 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/6.422, allocations: 49.08 kB / 2.695 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/6.423, allocations: 104.3 kB / 2.695 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/6.423, allocations: 56.56 kB / 2.695 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/6.423, allocations: 0 / 2.695 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002843/6.423, allocations: 165.8 kB / 2.695 GB, free: 201 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.696e-05/6.423, allocations: 369.6 kB / 2.696 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/6.423, allocations: 3.969 kB / 2.696 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/6.423, allocations: 0 / 2.696 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/6.423, allocations: 25.7 kB / 2.696 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/6.423, allocations: 3.781 kB / 2.696 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/6.424, allocations: 25.16 kB / 2.696 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/6.424, allocations: 7.562 kB / 2.696 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.312e-06/6.424, allocations: 6.406 kB / 2.696 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002313/6.424, allocations: 115 kB / 2.696 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/6.424, allocations: 7.953 kB / 2.696 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-06/6.424, allocations: 2.438 kB / 2.696 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.9e-05/6.424, allocations: 24.84 kB / 2.696 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-06/6.424, allocations: 0 / 2.696 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/6.424, allocations: 30.67 kB / 2.696 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/6.424, allocations: 15.19 kB / 2.696 GB, free: 200.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001187/6.424, allocations: 211.5 kB / 2.696 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/6.424, allocations: 22.91 kB / 2.696 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/6.425, allocations: 171.4 kB / 2.696 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/6.425, allocations: 3.625 kB / 2.696 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/6.425, allocations: 0 / 2.696 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/6.425, allocations: 3.844 kB / 2.696 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007504/6.425, allocations: 0.5926 MB / 2.697 GB, free: 200 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/6.425, allocations: 3.625 kB / 2.697 GB, free: 200 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/6.426, allocations: 29.48 kB / 2.697 GB, free: 200 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/6.426, allocations: 3.875 kB / 2.697 GB, free: 200 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/6.426, allocations: 3.844 kB / 2.697 GB, free: 200 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/6.426, allocations: 3.516 kB / 2.697 GB, free: 200 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/6.426, allocations: 3.812 kB / 2.697 GB, free: 200 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/6.426, allocations: 390 kB / 2.697 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.932e-05/6.426, allocations: 112.6 kB / 2.697 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/6.426, allocations: 7.906 kB / 2.697 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/6.426, allocations: 20.38 kB / 2.697 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/6.426, allocations: 22.48 kB / 2.698 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/6.426, allocations: 10.75 kB / 2.698 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001527/6.426, allocations: 188.9 kB / 2.698 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/6.426, allocations: 7.344 kB / 2.698 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007139/6.427, allocations: 172.9 kB / 2.698 GB, free: 199.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001228/6.428, allocations: 0.8937 MB / 2.699 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004262/6.429, allocations: 169.9 kB / 2.699 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/6.429, allocations: 6.469 kB / 2.699 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/6.429, allocations: 68.02 kB / 2.699 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/6.43, allocations: 121.8 kB / 2.699 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006747/6.43, allocations: 0.4955 MB / 2.7 GB, free: 199 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/6.431, allocations: 0.762 MB / 2.7 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002084/6.431, allocations: 73.3 kB / 2.7 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/6.431, allocations: 21.22 kB / 2.7 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/6.431, allocations: 0 / 2.7 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.02015/6.451, allocations: 14.87 MB / 2.715 GB, free: 194.3 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)