Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001215/0.001215, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001962/0.001962, allocations: 191.3 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4838/0.4838, allocations: 54.93 MB / 324.4 MB, free: 84 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.89 kB / 394.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.152, allocations: 59.59 MB / 454.4 MB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.4521/0.6041, allocations: 159.5 MB / 0.5996 GB, free: 8.266 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003549/0.6077, allocations: 2.22 MB / 0.6017 GB, free: 6.043 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003558/0.6081, allocations: 18.12 kB / 0.6017 GB, free: 6.027 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007673/0.609, allocations: 226.9 kB / 0.602 GB, free: 5.805 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.6104, allocations: 0.5484 MB / 0.6025 GB, free: 5.254 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.6116, allocations: 414.7 kB / 0.6029 GB, free: 4.855 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.6129, allocations: 1.053 MB / 0.6039 GB, free: 3.801 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003805/0.6133, allocations: 263.1 kB / 0.6042 GB, free: 3.543 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.6144, allocations: 0.572 MB / 0.6047 GB, free: 2.969 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.6148, allocations: 302.8 kB / 0.605 GB, free: 2.672 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.6148, allocations: 32 kB / 0.605 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009162/0.6158, allocations: 0.6005 MB / 0.6056 GB, free: 2.039 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.6159, allocations: 151.6 kB / 0.6058 GB, free: 1.891 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002347/0.6162, allocations: 235 kB / 0.606 GB, free: 1.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009126/0.6171, allocations: 0.7869 MB / 0.6068 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6171, allocations: 0 / 0.6068 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6171, allocations: 0 / 0.6068 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.6171, allocations: 0 / 0.6068 GB, free: 0.8711 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001228/0.6184, allocations: 0.7606 MB / 0.6075 GB, free: 68 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.6184, allocations: 8.031 kB / 0.6075 GB, free: 60 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.6187, allocations: 59.38 kB / 0.6076 GB, free: 0 / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/0.6192, allocations: 346.5 kB / 0.6079 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.6192, allocations: 20.56 kB / 0.6079 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.6192, allocations: 24 kB / 0.6079 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.6203, allocations: 396.7 kB / 0.6083 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.6204, allocations: 1.219 kB / 0.6083 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/0.6204, allocations: 12 kB / 0.6083 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.6204, allocations: 9.25 kB / 0.6083 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009893/0.6214, allocations: 337.8 kB / 0.6087 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.6231, allocations: 1.092 MB / 0.6097 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007478/0.6239, allocations: 198.5 kB / 0.6099 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.624, allocations: 76.89 kB / 0.61 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.6241, allocations: 4 kB / 0.61 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.6241, allocations: 34.56 kB / 0.61 GB, free: 13.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.6241, allocations: 4 kB / 0.61 GB, free: 13.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.001614/0.6257, allocations: 386.3 kB / 0.6104 GB, free: 12.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.6258, allocations: 63.98 kB / 0.6105 GB, free: 12.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004382/0.6263, allocations: 409.6 kB / 0.6109 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.509e-05/0.6263, allocations: 37.69 kB / 0.6109 GB, free: 12.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.6265, allocations: 204 kB / 0.6111 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.6265, allocations: 43.39 kB / 0.6111 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.6266, allocations: 41.7 kB / 0.6112 GB, free: 12.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6268, allocations: 346.7 kB / 0.6115 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.6271, allocations: 99.16 kB / 0.6116 GB, free: 11.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.6274, allocations: 143.3 kB / 0.6117 GB, free: 11.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005423/0.6279, allocations: 232.3 kB / 0.612 GB, free: 11.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.6279, allocations: 0 / 0.612 GB, free: 11.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006837/0.6286, allocations: 294.8 kB / 0.6122 GB, free: 10.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.6287, allocations: 4 kB / 0.6122 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.6287, allocations: 4 kB / 0.6122 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.6287, allocations: 4.75 kB / 0.6122 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.629, allocations: 60.02 kB / 0.6123 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.629, allocations: 4 kB / 0.6123 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.6294, allocations: 47.59 kB / 0.6124 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.6294, allocations: 12 kB / 0.6124 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002524/0.6296, allocations: 188.1 kB / 0.6125 GB, free: 10.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001678/0.6298, allocations: 122.9 kB / 0.6127 GB, free: 10.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002947/0.6301, allocations: 183.5 kB / 0.6128 GB, free: 10.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.6301, allocations: 1.5 kB / 0.6128 GB, free: 10.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004/0.6305, allocations: 234.8 kB / 0.6131 GB, free: 10.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.6306, allocations: 8.125 kB / 0.6131 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.6306, allocations: 4 kB / 0.6131 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/0.6306, allocations: 4 kB / 0.6131 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.6307, allocations: 39.92 kB / 0.6131 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.6308, allocations: 0 / 0.6131 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.631, allocations: 27.83 kB / 0.6131 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.631, allocations: 17.66 kB / 0.6132 GB, free: 9.977 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001458/0.6312, allocations: 204.1 kB / 0.6134 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/0.6312, allocations: 35.53 kB / 0.6134 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.688e-05/0.6313, allocations: 39.12 kB / 0.6134 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.6313, allocations: 4 kB / 0.6134 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.6314, allocations: 0 / 0.6134 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.6314, allocations: 3.938 kB / 0.6134 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.6325, allocations: 0.7217 MB / 0.6141 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.6326, allocations: 4.688 kB / 0.6141 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.6328, allocations: 44.16 kB / 0.6142 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.6328, allocations: 4 kB / 0.6142 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.6328, allocations: 7.984 kB / 0.6142 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6328, allocations: 0.5 kB / 0.6142 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.6328, allocations: 7.938 kB / 0.6142 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/0.6335, allocations: 364.9 kB / 0.6146 GB, free: 8.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.6336, allocations: 148.5 kB / 0.6147 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.6337, allocations: 6 kB / 0.6147 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.6341, allocations: 39.89 kB / 0.6147 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.6341, allocations: 15.92 kB / 0.6148 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.389e-05/0.6342, allocations: 12 kB / 0.6148 GB, free: 8.195 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002798/0.6345, allocations: 295.1 kB / 0.615 GB, free: 7.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6345, allocations: 0 / 0.615 GB, free: 7.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006318/0.6351, allocations: 203.7 kB / 0.6152 GB, free: 7.711 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (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 Backend phase and start with SimCode phase: time 0.0004679/0.6356, allocations: 190.7 kB / 0.6154 GB, free: 7.527 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008018/0.6364, allocations: 309 kB / 0.6157 GB, free: 7.227 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6364, allocations: 0 / 0.6157 GB, free: 7.227 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.6367, allocations: 95.86 kB / 0.6158 GB, free: 7.133 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.6378, allocations: 217.3 kB / 0.616 GB, free: 6.941 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.6389, allocations: 0.7694 MB / 0.6168 GB, free: 6.133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.6393, allocations: 0.7957 MB / 0.6175 GB, free: 5.312 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004029/0.6397, allocations: 99.84 kB / 0.6176 GB, free: 5.219 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.564e-05/0.6398, allocations: 27.44 kB / 0.6177 GB, free: 5.191 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6398, allocations: 4 kB / 0.6177 GB, free: 5.188 MB / 494.1 MB Notification: Performance of Templates: time 0.01385/0.6536, allocations: 8.104 MB / 0.6256 GB, free: 13.23 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)