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.0009976/0.0009977, allocations: 92.62 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.0008941/0.0008942, allocations: 175.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.293/1.293, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8884/0.8884, allocations: 135.3 MB / 427.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.000315, allocations: 19.92 kB / 0.5082 GB, free: 4.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1443, allocations: 82.3 MB / 0.5886 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01408/0.1585, allocations: 14.49 MB / 0.6028 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005509/0.164, allocations: 3.861 MB / 0.6065 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004802/0.1645, allocations: 15.94 kB / 0.6065 GB, free: 180 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005254/0.1651, allocations: 147.1 kB / 0.6067 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.2917/0.4568, allocations: 0.6174 MB / 0.6073 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.458, allocations: 428.7 kB / 0.6077 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001401/0.4594, allocations: 1.373 MB / 0.609 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003181/0.4597, allocations: 231.6 kB / 0.6092 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005143/0.4602, allocations: 367.5 kB / 0.6096 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.4605, allocations: 266.7 kB / 0.6099 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.4605, allocations: 12.84 kB / 0.6099 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009934/0.4615, allocations: 0.6968 MB / 0.6105 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.396e-05/0.4616, allocations: 64.23 kB / 0.6106 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.4618, allocations: 203.1 kB / 0.6108 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005274/0.4623, allocations: 0.4924 MB / 0.6113 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4623, allocations: 0 / 0.6113 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4623, allocations: 0 / 0.6113 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.4623, allocations: 0 / 0.6113 GB, free: 34.1 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.0008644/0.4632, allocations: 0.69 MB / 0.612 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.4632, allocations: 8.812 kB / 0.612 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.721e-05/0.4633, allocations: 45.59 kB / 0.612 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006853/0.464, allocations: 496.6 kB / 0.6125 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.464, allocations: 22.36 kB / 0.6125 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.4641, allocations: 19.92 kB / 0.6125 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.4644, allocations: 184.5 kB / 0.6127 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4644, allocations: 0 / 0.6127 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.4644, allocations: 6.375 kB / 0.6127 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.4644, allocations: 3.938 kB / 0.6127 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.4647, allocations: 148.2 kB / 0.6129 GB, free: 33.24 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.0008969/0.4656, allocations: 0.8628 MB / 0.6137 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.4659, allocations: 127.3 kB / 0.6138 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.4661, allocations: 80.05 kB / 0.6139 GB, free: 32.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002254/0.4663, allocations: 335.6 kB / 0.6142 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.4663, allocations: 38 kB / 0.6142 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.4663, allocations: 1.219 kB / 0.6142 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005148/0.4669, allocations: 235.3 kB / 0.6145 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.4669, allocations: 54.69 kB / 0.6145 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.4672, allocations: 345.9 kB / 0.6149 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.4672, allocations: 35.36 kB / 0.6149 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.4673, allocations: 196.7 kB / 0.6151 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.4673, allocations: 48.39 kB / 0.6151 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.4674, allocations: 16.31 kB / 0.6151 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.432e-05/0.4674, allocations: 346 kB / 0.6155 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.4675, allocations: 49.08 kB / 0.6155 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.4677, allocations: 93.67 kB / 0.6156 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.4679, allocations: 127.4 kB / 0.6157 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4679, allocations: 0 / 0.6157 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003144/0.4683, allocations: 189.1 kB / 0.6159 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.4683, allocations: 106.8 kB / 0.616 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4683, allocations: 2.5 kB / 0.616 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.4683, allocations: 4.094 kB / 0.616 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.4685, allocations: 33.95 kB / 0.616 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.4685, allocations: 0 / 0.616 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.4687, allocations: 26.95 kB / 0.6161 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.4687, allocations: 14.09 kB / 0.6161 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-06/0.4687, allocations: 3.25 kB / 0.6161 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00026/0.469, allocations: 121.9 kB / 0.6162 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/0.469, allocations: 0 / 0.6162 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-06/0.469, allocations: 3.688 kB / 0.6162 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.4691, allocations: 38.64 kB / 0.6162 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-06/0.4691, allocations: 0 / 0.6162 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.4693, allocations: 31.72 kB / 0.6163 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.4693, allocations: 3.031 kB / 0.6163 GB, free: 31.28 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.0001083/0.4695, allocations: 223.4 kB / 0.6165 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.4695, allocations: 40.34 kB / 0.6165 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004385/0.4699, allocations: 227.8 kB / 0.6167 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.47, allocations: 2.969 kB / 0.6167 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.47, allocations: 8.969 kB / 0.6168 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.47, allocations: 0 / 0.6168 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007137/0.4707, allocations: 0.647 MB / 0.6174 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4707, allocations: 7.875 kB / 0.6174 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.751e-05/0.4708, allocations: 28.09 kB / 0.6174 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4708, allocations: 2.906 kB / 0.6174 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.4708, allocations: 4.688 kB / 0.6174 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4708, allocations: 3.188 kB / 0.6174 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4709, allocations: 2.969 kB / 0.6174 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.4712, allocations: 329.9 kB / 0.6178 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.099e-05/0.4713, allocations: 125.4 kB / 0.6179 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.4713, allocations: 13.92 kB / 0.6179 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.4715, allocations: 24.31 kB / 0.6179 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.4716, allocations: 10.14 kB / 0.6179 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.4716, allocations: 5.906 kB / 0.6179 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001796/0.4718, allocations: 246.1 kB / 0.6182 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4718, allocations: 4 kB / 0.6182 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005107/0.4723, allocations: 192.9 kB / 0.6183 GB, free: 30.26 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.0004226/0.4727, allocations: 248.2 kB / 0.6186 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004359/0.4732, allocations: 206.4 kB / 0.6188 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4732, allocations: 0 / 0.6188 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.4734, allocations: 83.8 kB / 0.6189 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008221/0.4742, allocations: 151.4 kB / 0.619 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007163/0.4749, allocations: 0.7253 MB / 0.6197 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.4751, allocations: 0.7955 MB / 0.6205 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.4752, allocations: 28.66 kB / 0.6205 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.4752, allocations: 0 / 0.6205 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.006835/0.482, allocations: 5.713 MB / 0.6261 GB, free: 28.46 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)