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.001088/0.001088, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001269/0.001269, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.027/1.027, allocations: 135.3 MB / 426.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003385, allocations: 8 kB / 0.507 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1957, allocations: 82.31 MB / 0.5874 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01474/0.2104, allocations: 13.76 MB / 0.6008 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006115/0.2166, allocations: 3.628 MB / 0.6043 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000795/0.2174, allocations: 19.88 kB / 0.6044 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000681/0.2181, allocations: 131.1 kB / 0.6045 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.2203, allocations: 0.5597 MB / 0.605 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.2217, allocations: 407.7 kB / 0.6054 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.3676/0.5894, allocations: 1.191 MB / 0.6066 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006058/0.59, allocations: 222.8 kB / 0.6068 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009191/0.591, allocations: 345.9 kB / 0.6071 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.5914, allocations: 259.3 kB / 0.6074 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.5914, allocations: 9.219 kB / 0.6074 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.5928, allocations: 0.6311 MB / 0.608 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.5929, allocations: 61.59 kB / 0.6081 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.161e-05/0.593, allocations: 101.2 kB / 0.6082 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006012/0.5936, allocations: 481.5 kB / 0.6086 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.5936, allocations: 6.469 kB / 0.6086 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5936, allocations: 0 / 0.6086 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.5936, allocations: 0 / 0.6086 GB, free: 35.03 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.001006/0.5946, allocations: 0.6896 MB / 0.6093 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.5947, allocations: 10.84 kB / 0.6093 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.453e-05/0.5947, allocations: 45.91 kB / 0.6093 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008041/0.5955, allocations: 477.9 kB / 0.6098 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.5956, allocations: 17.64 kB / 0.6098 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.5956, allocations: 16.28 kB / 0.6098 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.596, allocations: 179.2 kB / 0.61 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.596, allocations: 0 / 0.61 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.596, allocations: 11.88 kB / 0.61 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.596, allocations: 3.281 kB / 0.61 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.5963, allocations: 154.3 kB / 0.6102 GB, free: 34.21 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.0009569/0.5973, allocations: 0.8654 MB / 0.611 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.5975, allocations: 131.7 kB / 0.6111 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.5977, allocations: 70.84 kB / 0.6112 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/0.598, allocations: 338.3 kB / 0.6115 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.598, allocations: 30.56 kB / 0.6116 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.598, allocations: 7.562 kB / 0.6116 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005348/0.5986, allocations: 230.8 kB / 0.6118 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.5986, allocations: 62.61 kB / 0.6118 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.5989, allocations: 343.8 kB / 0.6122 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.599, allocations: 29.08 kB / 0.6122 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.5991, allocations: 198.6 kB / 0.6124 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.5991, allocations: 36.2 kB / 0.6124 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.5991, allocations: 2.875 kB / 0.6124 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.5992, allocations: 340.9 kB / 0.6128 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.5993, allocations: 53.8 kB / 0.6128 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.5995, allocations: 89.84 kB / 0.6129 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.5996, allocations: 56.69 kB / 0.6129 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5996, allocations: 2.75 kB / 0.6129 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003075/0.5999, allocations: 183.3 kB / 0.6131 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.188e-05/0.6, allocations: 105.3 kB / 0.6132 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.6, allocations: 2.656 kB / 0.6132 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.6, allocations: 0 / 0.6132 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.6002, allocations: 30.47 kB / 0.6133 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.6002, allocations: 0.9375 kB / 0.6133 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.6004, allocations: 38.45 kB / 0.6133 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.6004, allocations: 7.203 kB / 0.6133 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.33e-06/0.6004, allocations: 2.781 kB / 0.6133 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002963/0.6007, allocations: 124.6 kB / 0.6134 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-06/0.6007, allocations: 4 kB / 0.6134 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-06/0.6007, allocations: 0 / 0.6134 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.6008, allocations: 29.67 kB / 0.6135 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.6009, allocations: 0 / 0.6135 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.601, allocations: 30.52 kB / 0.6135 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.6011, allocations: 9.656 kB / 0.6135 GB, free: 32.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.6012, allocations: 227.5 kB / 0.6137 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.6013, allocations: 40.97 kB / 0.6137 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/0.6018, allocations: 229.7 kB / 0.614 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.6018, allocations: 0 / 0.614 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6018, allocations: 6.344 kB / 0.614 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.6018, allocations: 3.375 kB / 0.614 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007881/0.6026, allocations: 0.6438 MB / 0.6146 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.6026, allocations: 0 / 0.6146 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-05/0.6027, allocations: 32.3 kB / 0.6146 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.6027, allocations: 2.844 kB / 0.6146 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.6028, allocations: 5.75 kB / 0.6146 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.6028, allocations: 2.875 kB / 0.6146 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.6028, allocations: 3.953 kB / 0.6147 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.6031, allocations: 329.6 kB / 0.615 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.972e-05/0.6032, allocations: 132.1 kB / 0.6151 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.6033, allocations: 5.438 kB / 0.6151 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.6035, allocations: 24.47 kB / 0.6151 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.6035, allocations: 13.44 kB / 0.6151 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.6035, allocations: 13.38 kB / 0.6151 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001898/0.6037, allocations: 240.1 kB / 0.6154 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6037, allocations: 0 / 0.6154 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005715/0.6043, allocations: 192.8 kB / 0.6156 GB, free: 31.28 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 (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.0004952/0.6048, allocations: 243.2 kB / 0.6158 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004365/0.6053, allocations: 197.6 kB / 0.616 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6053, allocations: 0 / 0.616 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.6054, allocations: 90.05 kB / 0.6161 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007403/0.6062, allocations: 151.3 kB / 0.6162 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007783/0.607, allocations: 0.6761 MB / 0.6169 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.6072, allocations: 0.7968 MB / 0.6176 GB, free: 30.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000231/0.6074, allocations: 78.44 kB / 0.6177 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.6075, allocations: 29.12 kB / 0.6177 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.6075, allocations: 0 / 0.6177 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of Templates: time 0.0103/0.6178, allocations: 6.102 MB / 0.6237 GB, free: 29.6 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)