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.001842/0.001842, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002166/0.002167, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.45/1.45, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9875/0.9875, allocations: 135.6 MB / 425.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 64.66 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1951, allocations: 81.03 MB / 0.5845 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02003/0.2152, allocations: 14.97 MB / 0.5991 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006648/0.2219, allocations: 3.867 MB / 0.6029 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005069/0.2224, allocations: 19.88 kB / 0.6029 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006607/0.2231, allocations: 159.1 kB / 0.6031 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.225, allocations: 0.6184 MB / 0.6037 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.2263, allocations: 430.9 kB / 0.6041 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.2724/0.4987, allocations: 1.086 MB / 0.6051 GB, free: 36.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003853/0.4991, allocations: 277.5 kB / 0.6054 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005524/0.4997, allocations: 411.6 kB / 0.6058 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.4999, allocations: 278 kB / 0.6061 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.5, allocations: 20.16 kB / 0.6061 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.501, allocations: 0.7206 MB / 0.6068 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/0.501, allocations: 76.11 kB / 0.6069 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.5012, allocations: 184.6 kB / 0.607 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007467/0.5019, allocations: 0.7277 MB / 0.6077 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.502, allocations: 0.6875 kB / 0.6077 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.502, allocations: 0 / 0.6077 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.502, allocations: 0.9062 kB / 0.6077 GB, free: 36.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.0008868/0.5029, allocations: 0.7354 MB / 0.6085 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.5029, allocations: 11.5 kB / 0.6085 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.805e-05/0.503, allocations: 48.47 kB / 0.6085 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/0.5037, allocations: 495.5 kB / 0.609 GB, free: 35.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.5037, allocations: 20.45 kB / 0.609 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.5038, allocations: 18.66 kB / 0.609 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.5041, allocations: 181 kB / 0.6092 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5041, allocations: 0 / 0.6092 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.5041, allocations: 3.75 kB / 0.6092 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.5041, allocations: 7.375 kB / 0.6092 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.5044, allocations: 138.8 kB / 0.6093 GB, free: 35.27 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.0008512/0.5053, allocations: 0.8606 MB / 0.6102 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.5055, allocations: 117 kB / 0.6103 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.5057, allocations: 73.25 kB / 0.6104 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/0.5059, allocations: 338.8 kB / 0.6107 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.506, allocations: 36.84 kB / 0.6107 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.954e-06/0.506, allocations: 0 / 0.6107 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0004834/0.5065, allocations: 230.4 kB / 0.6109 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.5065, allocations: 53.47 kB / 0.611 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.5068, allocations: 342.2 kB / 0.6113 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.5068, allocations: 32.61 kB / 0.6114 GB, free: 34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.5069, allocations: 188.5 kB / 0.6115 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.5069, allocations: 48.06 kB / 0.6116 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.5069, allocations: 36.88 kB / 0.6116 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.507, allocations: 341.8 kB / 0.6119 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.5071, allocations: 54.3 kB / 0.612 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.5073, allocations: 91.08 kB / 0.6121 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.5075, allocations: 121.1 kB / 0.6122 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5075, allocations: 0 / 0.6122 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003041/0.5078, allocations: 175.6 kB / 0.6124 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.5079, allocations: 10.06 kB / 0.6124 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5079, allocations: 0 / 0.6124 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.5079, allocations: 7.875 kB / 0.6124 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.508, allocations: 30.78 kB / 0.6124 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.508, allocations: 0 / 0.6124 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.5082, allocations: 29.09 kB / 0.6124 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.5083, allocations: 7.203 kB / 0.6124 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001667/0.5084, allocations: 153.4 kB / 0.6126 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001268/0.5086, allocations: 89.23 kB / 0.6127 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002054/0.5088, allocations: 112.8 kB / 0.6128 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.91e-07/0.5088, allocations: 0 / 0.6128 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0002896/0.5091, allocations: 166.5 kB / 0.6129 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.5091, allocations: 9.344 kB / 0.6129 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/0.5091, allocations: 3.234 kB / 0.613 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-06/0.5091, allocations: 2.688 kB / 0.613 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.911e-05/0.5092, allocations: 27.05 kB / 0.613 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.5092, allocations: 2.969 kB / 0.613 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.5094, allocations: 24.41 kB / 0.613 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.5095, allocations: 10.25 kB / 0.613 GB, free: 33.21 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.212e-05/0.5095, allocations: 189.2 kB / 0.6132 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.5096, allocations: 39.78 kB / 0.6132 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.51, allocations: 227.3 kB / 0.6135 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.51, allocations: 2.906 kB / 0.6135 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.51, allocations: 1.031 kB / 0.6135 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.51, allocations: 4 kB / 0.6135 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006724/0.5107, allocations: 0.6332 MB / 0.6141 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5107, allocations: 6.719 kB / 0.6141 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.895e-05/0.5108, allocations: 30.41 kB / 0.6141 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5108, allocations: 0 / 0.6141 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.5109, allocations: 7.906 kB / 0.6141 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.5109, allocations: 2.938 kB / 0.6141 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5109, allocations: 0 / 0.6141 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.5112, allocations: 325.6 kB / 0.6144 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.973e-05/0.5113, allocations: 125.1 kB / 0.6146 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.5114, allocations: 6.688 kB / 0.6146 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.5116, allocations: 18.23 kB / 0.6146 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.5116, allocations: 12.23 kB / 0.6146 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.5117, allocations: 11.92 kB / 0.6146 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001779/0.5118, allocations: 250.4 kB / 0.6148 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5118, allocations: 0 / 0.6148 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005061/0.5124, allocations: 187 kB / 0.615 GB, free: 32.21 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.0004587/0.5128, allocations: 249 kB / 0.6153 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004497/0.5133, allocations: 206.5 kB / 0.6155 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5133, allocations: 0 / 0.6155 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.5135, allocations: 81.86 kB / 0.6155 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007401/0.5142, allocations: 145.5 kB / 0.6157 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006967/0.5149, allocations: 0.6753 MB / 0.6163 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.5151, allocations: 0.794 MB / 0.6171 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002254/0.5153, allocations: 69.64 kB / 0.6172 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.5154, allocations: 33.28 kB / 0.6172 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.5154, allocations: 7.938 kB / 0.6172 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of Templates: time 0.01025/0.5257, allocations: 6.492 MB / 0.6235 GB, free: 30.49 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)