Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001114/0.001114, allocations: 112.2 kB / 16.37 MB, free: 6.008 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.001049/0.001049, allocations: 192.3 kB / 17.3 MB, free: 5.617 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8515/0.8515, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5029/0.5042, allocations: 80.18 MB / 0.5815 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01375/0.5181, allocations: 15.06 MB / 0.5962 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004729/0.5228, allocations: 3.869 MB / 0.6 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005932/0.5235, allocations: 23.88 kB / 0.6 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.524, allocations: 200.4 kB / 0.6002 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.5257, allocations: 0.6717 MB / 0.6009 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.5268, allocations: 481.1 kB / 0.6013 GB, free: 9.887 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.528, allocations: 1.088 MB / 0.6024 GB, free: 8.805 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.5284, allocations: 283 kB / 0.6026 GB, free: 8.527 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005095/0.5289, allocations: 395 kB / 0.603 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.5291, allocations: 264.2 kB / 0.6033 GB, free: 7.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.5292, allocations: 20 kB / 0.6033 GB, free: 7.863 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009678/0.5302, allocations: 0.7217 MB / 0.604 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.197e-05/0.5302, allocations: 72.75 kB / 0.6041 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.5304, allocations: 191 kB / 0.6042 GB, free: 6.883 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007522/0.5312, allocations: 0.7243 MB / 0.605 GB, free: 6.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.5312, allocations: 0.5625 kB / 0.605 GB, free: 6.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5312, allocations: 1 kB / 0.605 GB, free: 6.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.5312, allocations: 11.88 kB / 0.605 GB, free: 6.148 MB / 446.1 MB 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.0009479/0.5321, allocations: 0.7348 MB / 0.6057 GB, free: 5.363 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.5322, allocations: 16.02 kB / 0.6057 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.669e-05/0.5323, allocations: 44.38 kB / 0.6057 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000826/0.5331, allocations: 0.5047 MB / 0.6062 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.5331, allocations: 12.33 kB / 0.6062 GB, free: 4.754 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.5332, allocations: 20 kB / 0.6063 GB, free: 4.734 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.5335, allocations: 188.1 kB / 0.6064 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.5335, allocations: 0 / 0.6064 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.5335, allocations: 10.16 kB / 0.6065 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.5335, allocations: 4 kB / 0.6065 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.5338, allocations: 136.2 kB / 0.6066 GB, free: 4.402 MB / 446.1 MB 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.0008827/0.5347, allocations: 0.8636 MB / 0.6074 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.5349, allocations: 115.5 kB / 0.6075 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.5351, allocations: 81.91 kB / 0.6076 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.5353, allocations: 336.9 kB / 0.6079 GB, free: 2.836 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.5354, allocations: 35.28 kB / 0.608 GB, free: 2.793 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.5354, allocations: 3.375 kB / 0.608 GB, free: 2.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004806/0.5359, allocations: 227.6 kB / 0.6082 GB, free: 2.566 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.5359, allocations: 51.41 kB / 0.6082 GB, free: 2.504 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.5362, allocations: 345.7 kB / 0.6086 GB, free: 2.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.5362, allocations: 29.7 kB / 0.6086 GB, free: 2.125 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.5363, allocations: 194.6 kB / 0.6088 GB, free: 1.934 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.5363, allocations: 39.39 kB / 0.6088 GB, free: 1.895 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.5364, allocations: 33.7 kB / 0.6089 GB, free: 1.855 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.762e-05/0.5364, allocations: 346.8 kB / 0.6092 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.5366, allocations: 48.42 kB / 0.6092 GB, free: 1.461 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.5367, allocations: 88.25 kB / 0.6093 GB, free: 1.359 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.5369, allocations: 121.6 kB / 0.6094 GB, free: 1.234 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5369, allocations: 0 / 0.6094 GB, free: 1.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002881/0.5372, allocations: 181.1 kB / 0.6096 GB, free: 1.051 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.5372, allocations: 8 kB / 0.6096 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5372, allocations: 0 / 0.6096 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.5373, allocations: 0 / 0.6096 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.5374, allocations: 27.92 kB / 0.6096 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5374, allocations: 3.984 kB / 0.6096 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.5376, allocations: 23.89 kB / 0.6097 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.5376, allocations: 4 kB / 0.6097 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001581/0.5378, allocations: 156.1 kB / 0.6098 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001118/0.5379, allocations: 84.19 kB / 0.6099 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001904/0.5381, allocations: 121.6 kB / 0.61 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.32e-07/0.5381, allocations: 0 / 0.61 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0002615/0.5384, allocations: 173.2 kB / 0.6102 GB, free: 440 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.5384, allocations: 7.938 kB / 0.6102 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-06/0.5384, allocations: 0 / 0.6102 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-06/0.5384, allocations: 0 / 0.6102 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.328e-05/0.5385, allocations: 23.98 kB / 0.6102 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-06/0.5385, allocations: 0 / 0.6102 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.5387, allocations: 31.88 kB / 0.6102 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.5387, allocations: 4 kB / 0.6102 GB, free: 372 kB / 446.1 MB 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.883e-05/0.5388, allocations: 192.1 kB / 0.6104 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.5388, allocations: 35.56 kB / 0.6105 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004547/0.5393, allocations: 229.2 kB / 0.6107 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.5393, allocations: 8 kB / 0.6107 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.5393, allocations: 0 / 0.6107 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5393, allocations: 0 / 0.6107 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008155/0.5401, allocations: 0.6294 MB / 0.6113 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5402, allocations: 0 / 0.6113 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.5403, allocations: 32.06 kB / 0.6113 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.5403, allocations: 4 kB / 0.6113 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.5403, allocations: 8.125 kB / 0.6113 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.5403, allocations: 7.938 kB / 0.6114 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5403, allocations: 0 / 0.6114 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.5407, allocations: 313.5 kB / 0.6117 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.5409, allocations: 128.6 kB / 0.6118 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.541, allocations: 4 kB / 0.6118 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.5412, allocations: 15.97 kB / 0.6118 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.5413, allocations: 23.86 kB / 0.6118 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.5413, allocations: 4 kB / 0.6118 GB, free: 14.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.5415, allocations: 247.2 kB / 0.6121 GB, free: 14.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5415, allocations: 0 / 0.6121 GB, free: 14.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005894/0.5421, allocations: 191.6 kB / 0.6122 GB, free: 14.2 MB / 462.1 MB 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.0006609/0.5428, allocations: 244.7 kB / 0.6125 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005436/0.5434, allocations: 193.2 kB / 0.6127 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5434, allocations: 0 / 0.6127 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.5436, allocations: 75.89 kB / 0.6127 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008101/0.5444, allocations: 148.3 kB / 0.6129 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009118/0.5453, allocations: 0.5554 MB / 0.6134 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.5457, allocations: 0.7957 MB / 0.6142 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002482/0.546, allocations: 78.09 kB / 0.6143 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.5461, allocations: 31.38 kB / 0.6143 GB, free: 12.04 MB / 462.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5461, allocations: 0 / 0.6143 GB, free: 12.04 MB / 462.1 MB Notification: Performance of Templates: time 0.01304/0.5591, allocations: 6.575 MB / 0.6207 GB, free: 5.578 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)