Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.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.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 108 kB / 15.6 MB, free: 132 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.001388/0.001388, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.535/1.535, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.106/1.106, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001529, allocations: 56.19 kB / 0.5053 GB, free: 5.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2021, allocations: 80.93 MB / 0.5844 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01977/0.2219, allocations: 15.04 MB / 0.599 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006131/0.2281, allocations: 3.887 MB / 0.6028 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006644/0.2288, allocations: 23.88 kB / 0.6029 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006778/0.2295, allocations: 178.7 kB / 0.603 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.2315, allocations: 0.688 MB / 0.6037 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.2329, allocations: 465.8 kB / 0.6041 GB, free: 236 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.3284/0.5614, allocations: 1.08 MB / 0.6052 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00051/0.5619, allocations: 279.6 kB / 0.6055 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006223/0.5625, allocations: 404.8 kB / 0.6059 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.5628, allocations: 262.8 kB / 0.6061 GB, free: 36.44 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.5629, allocations: 22.06 kB / 0.6061 GB, free: 36.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.5643, allocations: 0.7168 MB / 0.6068 GB, free: 36.44 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.863e-05/0.5644, allocations: 77.28 kB / 0.6069 GB, free: 36.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.5646, allocations: 187 kB / 0.6071 GB, free: 36.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.5656, allocations: 0.7208 MB / 0.6078 GB, free: 36.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5656, allocations: 0 / 0.6078 GB, free: 36.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5657, allocations: 6.875 kB / 0.6078 GB, free: 36.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.5657, allocations: 0 / 0.6078 GB, free: 36.29 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001004/0.5667, allocations: 0.7432 MB / 0.6085 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.5667, allocations: 10.88 kB / 0.6085 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.906e-05/0.5668, allocations: 42.62 kB / 0.6086 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007745/0.5676, allocations: 0.4891 MB / 0.609 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.5676, allocations: 15.98 kB / 0.6091 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.5677, allocations: 17.16 kB / 0.6091 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.568, allocations: 180.8 kB / 0.6092 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.568, allocations: 5.312 kB / 0.6093 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.5681, allocations: 9.719 kB / 0.6093 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.5681, allocations: 2.781 kB / 0.6093 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.5684, allocations: 138 kB / 0.6094 GB, free: 35.44 MB / 0.4981 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.0009313/0.5693, allocations: 0.8592 MB / 0.6102 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.5696, allocations: 120.5 kB / 0.6104 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.5697, allocations: 77.8 kB / 0.6104 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002996/0.5701, allocations: 335.6 kB / 0.6107 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.5701, allocations: 36.94 kB / 0.6108 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.5701, allocations: 0 / 0.6108 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005582/0.5707, allocations: 224.5 kB / 0.611 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.5707, allocations: 54.22 kB / 0.611 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.571, allocations: 345.5 kB / 0.6114 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.571, allocations: 28.61 kB / 0.6114 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.534e-05/0.5711, allocations: 196.9 kB / 0.6116 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.5711, allocations: 43.16 kB / 0.6116 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.5712, allocations: 34.95 kB / 0.6117 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.056e-05/0.5713, allocations: 346.4 kB / 0.612 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.5714, allocations: 57.77 kB / 0.6121 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.5716, allocations: 83.83 kB / 0.6121 GB, free: 33.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.5718, allocations: 123 kB / 0.6122 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5719, allocations: 0 / 0.6122 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003651/0.5722, allocations: 178.2 kB / 0.6124 GB, free: 33.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5723, allocations: 9.5 kB / 0.6124 GB, free: 33.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5723, allocations: 0 / 0.6124 GB, free: 33.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.5723, allocations: 3.938 kB / 0.6124 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.5725, allocations: 25.98 kB / 0.6125 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.5725, allocations: 6.781 kB / 0.6125 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.5727, allocations: 18.92 kB / 0.6125 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.5727, allocations: 2.969 kB / 0.6125 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002016/0.5729, allocations: 156.6 kB / 0.6126 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001414/0.5731, allocations: 82.94 kB / 0.6127 GB, free: 33.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002383/0.5733, allocations: 118.4 kB / 0.6128 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.774e-06/0.5733, allocations: 3.766 kB / 0.6128 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003346/0.5737, allocations: 170.2 kB / 0.613 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.5737, allocations: 5.438 kB / 0.613 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-06/0.5737, allocations: 0 / 0.613 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-06/0.5737, allocations: 2.781 kB / 0.613 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.5738, allocations: 31.2 kB / 0.613 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.5738, allocations: 4.969 kB / 0.613 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.574, allocations: 18.39 kB / 0.6131 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.574, allocations: 5.844 kB / 0.6131 GB, free: 33.39 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.873e-05/0.5741, allocations: 187.7 kB / 0.6132 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.5742, allocations: 33.94 kB / 0.6133 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004605/0.5746, allocations: 246.3 kB / 0.6135 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5746, allocations: 2.844 kB / 0.6135 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5746, allocations: 0 / 0.6135 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5747, allocations: 1.078 kB / 0.6135 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007467/0.5754, allocations: 0.6342 MB / 0.6141 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.5754, allocations: 2.719 kB / 0.6141 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.5755, allocations: 31.03 kB / 0.6142 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.5755, allocations: 2.969 kB / 0.6142 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.5756, allocations: 1.875 kB / 0.6142 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.5756, allocations: 2.406 kB / 0.6142 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5756, allocations: 0 / 0.6142 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.576, allocations: 322.2 kB / 0.6145 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.855e-05/0.5761, allocations: 125.8 kB / 0.6146 GB, free: 32.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.5761, allocations: 3.75 kB / 0.6146 GB, free: 32.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.5763, allocations: 14.2 kB / 0.6146 GB, free: 32.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.5764, allocations: 15.36 kB / 0.6146 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.5764, allocations: 6.75 kB / 0.6146 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002148/0.5766, allocations: 244.7 kB / 0.6149 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5766, allocations: 0 / 0.6149 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000632/0.5773, allocations: 188.1 kB / 0.615 GB, free: 32.39 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005162/0.5778, allocations: 255.2 kB / 0.6153 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005114/0.5783, allocations: 202.7 kB / 0.6155 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5783, allocations: 3.938 kB / 0.6155 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.5785, allocations: 79.5 kB / 0.6156 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008953/0.5794, allocations: 144.7 kB / 0.6157 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007775/0.5802, allocations: 0.5666 MB / 0.6163 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.5804, allocations: 0.7919 MB / 0.617 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002437/0.5807, allocations: 78.62 kB / 0.6171 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.5807, allocations: 30.78 kB / 0.6171 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.5807, allocations: 0 / 0.6171 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.01096/0.5917, allocations: 6.571 MB / 0.6235 GB, free: 30.78 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)