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.001035/0.001035, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008479/0.008479, allocations: 170 kB / 16.26 MB, free: 6.68 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.504/1.504, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.1/1.1, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003362, allocations: 10.03 kB / 0.5076 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1854, allocations: 82.31 MB / 0.588 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01874/0.2042, allocations: 14.49 MB / 0.6021 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007769/0.212, allocations: 3.853 MB / 0.6059 GB, free: 236 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009326/0.213, allocations: 19.94 kB / 0.6059 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.2141, allocations: 159 kB / 0.606 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.4303/0.6444, allocations: 0.6058 MB / 0.6066 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.6459, allocations: 428.8 kB / 0.607 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002018/0.6479, allocations: 1.377 MB / 0.6084 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004446/0.6484, allocations: 229.7 kB / 0.6086 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007135/0.6491, allocations: 371.5 kB / 0.609 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.6495, allocations: 262.6 kB / 0.6092 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.6495, allocations: 12.78 kB / 0.6092 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.6509, allocations: 0.6912 MB / 0.6099 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.394e-05/0.651, allocations: 67.86 kB / 0.61 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.6512, allocations: 200.9 kB / 0.6102 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008474/0.652, allocations: 0.7018 MB / 0.6108 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.652, allocations: 0 / 0.6108 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.345e-06/0.652, allocations: 0 / 0.6108 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.6521, allocations: 3.938 kB / 0.6108 GB, free: 34.12 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.0009748/0.653, allocations: 0.6835 MB / 0.6115 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.6531, allocations: 6.75 kB / 0.6115 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/0.6532, allocations: 46.31 kB / 0.6116 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007852/0.654, allocations: 0.497 MB / 0.612 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.654, allocations: 20.2 kB / 0.6121 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.654, allocations: 17.91 kB / 0.6121 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.6544, allocations: 182.6 kB / 0.6123 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.6544, allocations: 4 kB / 0.6123 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.6544, allocations: 6.188 kB / 0.6123 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.6544, allocations: 9.703 kB / 0.6123 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.6548, allocations: 144 kB / 0.6124 GB, free: 33.26 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.001032/0.6558, allocations: 0.8689 MB / 0.6133 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.6561, allocations: 125 kB / 0.6134 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.6563, allocations: 76.12 kB / 0.6135 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003486/0.6566, allocations: 339.9 kB / 0.6138 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.6567, allocations: 38.84 kB / 0.6138 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.854e-06/0.6567, allocations: 0 / 0.6138 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006421/0.6573, allocations: 241.6 kB / 0.614 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.6574, allocations: 54.34 kB / 0.6141 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.6577, allocations: 344.4 kB / 0.6144 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.6577, allocations: 28.39 kB / 0.6145 GB, free: 32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.6578, allocations: 193.8 kB / 0.6146 GB, free: 31.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.6579, allocations: 41.77 kB / 0.6147 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.6579, allocations: 15.97 kB / 0.6147 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.658, allocations: 350.2 kB / 0.615 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.6581, allocations: 52.25 kB / 0.6151 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.6583, allocations: 94.53 kB / 0.6152 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.6585, allocations: 124.3 kB / 0.6153 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6585, allocations: 0 / 0.6153 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003415/0.6589, allocations: 188.3 kB / 0.6155 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.6589, allocations: 106.1 kB / 0.6156 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.659, allocations: 0 / 0.6156 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.659, allocations: 0 / 0.6156 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.6591, allocations: 35.83 kB / 0.6156 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.6591, allocations: 2.906 kB / 0.6156 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.6594, allocations: 32.8 kB / 0.6156 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.6594, allocations: 2.875 kB / 0.6156 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.543e-06/0.6594, allocations: 5.969 kB / 0.6156 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002715/0.6597, allocations: 125.8 kB / 0.6158 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-06/0.6597, allocations: 2.969 kB / 0.6158 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-06/0.6597, allocations: 0 / 0.6158 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.6598, allocations: 27.27 kB / 0.6158 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.6598, allocations: 2.969 kB / 0.6158 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.66, allocations: 37.86 kB / 0.6158 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.66, allocations: 6.062 kB / 0.6158 GB, free: 31.3 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 0.0001412/0.6602, allocations: 221.2 kB / 0.616 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.6602, allocations: 43.84 kB / 0.6161 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/0.6607, allocations: 233.4 kB / 0.6163 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.6607, allocations: 2.5 kB / 0.6163 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6607, allocations: 3.938 kB / 0.6163 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.6607, allocations: 2.969 kB / 0.6163 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000845/0.6616, allocations: 0.642 MB / 0.6169 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.6616, allocations: 3.938 kB / 0.617 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.915e-05/0.6617, allocations: 33.11 kB / 0.617 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.6617, allocations: 0 / 0.617 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.6617, allocations: 2.969 kB / 0.617 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.6618, allocations: 6.297 kB / 0.617 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6618, allocations: 0 / 0.617 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.6622, allocations: 331.1 kB / 0.6173 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.6623, allocations: 132.5 kB / 0.6174 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.6623, allocations: 2.812 kB / 0.6174 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.6626, allocations: 28.19 kB / 0.6175 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.6626, allocations: 11.55 kB / 0.6175 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.6626, allocations: 12.91 kB / 0.6175 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002064/0.6628, allocations: 248.7 kB / 0.6177 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.6628, allocations: 0 / 0.6177 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005756/0.6634, allocations: 193.5 kB / 0.6179 GB, free: 30.29 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.000555/0.664, allocations: 251.3 kB / 0.6181 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005024/0.6645, allocations: 202.3 kB / 0.6183 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6645, allocations: 0 / 0.6183 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.6647, allocations: 86.11 kB / 0.6184 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008715/0.6656, allocations: 148.7 kB / 0.6186 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008234/0.6664, allocations: 0.6986 MB / 0.6192 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.6666, allocations: 0.7949 MB / 0.62 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002263/0.6669, allocations: 75.83 kB / 0.6201 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.6669, allocations: 25.91 kB / 0.6201 GB, free: 29.01 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.6669, allocations: 0 / 0.6201 GB, free: 29.01 MB / 0.4981 GB Notification: Performance of Templates: time 0.01116/0.6781, allocations: 6.275 MB / 0.6262 GB, free: 28.57 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)