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.001315/0.001315, allocations: 108 kB / 15.61 MB, free: 152 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.001617/0.001617, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.596/1.596, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.431/0.431, allocations: 54.94 MB / 324.7 MB, free: 15.98 MB / 270.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.001777/0.001777, allocations: 71.91 kB / 395.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1606, allocations: 59.6 MB / 454.9 MB, free: 184 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.5422/0.7029, allocations: 161.7 MB / 0.6022 GB, free: 5.746 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003945/0.7069, allocations: 2.232 MB / 0.6043 GB, free: 3.512 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000403/0.7073, allocations: 11.94 kB / 0.6044 GB, free: 3.5 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008293/0.7082, allocations: 249 kB / 0.6046 GB, free: 3.258 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.7098, allocations: 0.5987 MB / 0.6052 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.711, allocations: 447.4 kB / 0.6056 GB, free: 2.223 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.7124, allocations: 1.041 MB / 0.6066 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004173/0.7129, allocations: 287 kB / 0.6069 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.714, allocations: 0.5565 MB / 0.6074 GB, free: 348 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.7143, allocations: 278.9 kB / 0.6077 GB, free: 68 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.284e-05/0.7144, allocations: 36 kB / 0.6077 GB, free: 32 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009996/0.7154, allocations: 0.5966 MB / 0.6083 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.7156, allocations: 159.6 kB / 0.6085 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.7158, allocations: 230.9 kB / 0.6087 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009616/0.7168, allocations: 0.783 MB / 0.6095 GB, free: 14.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7168, allocations: 0 / 0.6095 GB, free: 14.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.7168, allocations: 0 / 0.6095 GB, free: 14.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.547e-06/0.7168, allocations: 0 / 0.6095 GB, free: 14.27 MB / 494.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.001311/0.7182, allocations: 0.7606 MB / 0.6102 GB, free: 13.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.7182, allocations: 8.031 kB / 0.6102 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.7185, allocations: 55.38 kB / 0.6103 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.7189, allocations: 358.5 kB / 0.6106 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.719, allocations: 20.56 kB / 0.6106 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.719, allocations: 28 kB / 0.6106 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.7201, allocations: 388.7 kB / 0.611 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.7202, allocations: 0 / 0.611 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.7202, allocations: 15.94 kB / 0.611 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.7202, allocations: 4 kB / 0.611 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.7213, allocations: 339.2 kB / 0.6114 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.723, allocations: 1.096 MB / 0.6124 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007504/0.7238, allocations: 202.5 kB / 0.6126 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.7239, allocations: 68.91 kB / 0.6127 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.724, allocations: 0 / 0.6127 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.724, allocations: 38.56 kB / 0.6127 GB, free: 10.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.724, allocations: 4 kB / 0.6127 GB, free: 10.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.001601/0.7256, allocations: 392.9 kB / 0.6131 GB, free: 10.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.7257, allocations: 55.34 kB / 0.6132 GB, free: 10.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004539/0.7261, allocations: 413.5 kB / 0.6136 GB, free: 9.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.7262, allocations: 33.7 kB / 0.6136 GB, free: 9.801 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.7263, allocations: 208 kB / 0.6138 GB, free: 9.594 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.7264, allocations: 43.39 kB / 0.6138 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.767e-05/0.7265, allocations: 34.38 kB / 0.6139 GB, free: 9.512 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.7267, allocations: 354.7 kB / 0.6142 GB, free: 9.156 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.727, allocations: 98.48 kB / 0.6143 GB, free: 9.059 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.7273, allocations: 146.8 kB / 0.6144 GB, free: 8.891 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005867/0.7279, allocations: 227.2 kB / 0.6146 GB, free: 8.648 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.7279, allocations: 4.5 kB / 0.6147 GB, free: 8.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007302/0.7287, allocations: 293.9 kB / 0.6149 GB, free: 8.352 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.7287, allocations: 6.844 kB / 0.6149 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7287, allocations: 1.375 kB / 0.6149 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.7287, allocations: 4 kB / 0.6149 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.729, allocations: 59.89 kB / 0.615 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.729, allocations: 0 / 0.615 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.7294, allocations: 47.59 kB / 0.615 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.7294, allocations: 12.75 kB / 0.6151 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002617/0.7297, allocations: 188.1 kB / 0.6152 GB, free: 8.039 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001782/0.7299, allocations: 117.2 kB / 0.6153 GB, free: 7.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003146/0.7302, allocations: 183.3 kB / 0.6155 GB, free: 7.703 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.7302, allocations: 0 / 0.6155 GB, free: 7.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004341/0.7306, allocations: 243.6 kB / 0.6158 GB, free: 7.461 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.7307, allocations: 4 kB / 0.6158 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.7307, allocations: 4.625 kB / 0.6158 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/0.7307, allocations: 4 kB / 0.6158 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.7309, allocations: 35.92 kB / 0.6158 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.7309, allocations: 4 kB / 0.6158 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.7311, allocations: 23.83 kB / 0.6158 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.7311, allocations: 5.5 kB / 0.6158 GB, free: 7.383 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.0001471/0.7313, allocations: 208.1 kB / 0.616 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.7313, allocations: 39.53 kB / 0.6161 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.412e-05/0.7314, allocations: 39.12 kB / 0.6161 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.7315, allocations: 4.938 kB / 0.6161 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.7315, allocations: 3.984 kB / 0.6161 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.7315, allocations: 3.938 kB / 0.6161 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.7327, allocations: 0.7178 MB / 0.6168 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.7327, allocations: 3.938 kB / 0.6168 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.7329, allocations: 44.66 kB / 0.6169 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.733, allocations: 4 kB / 0.6169 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.733, allocations: 0 / 0.6169 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.733, allocations: 8.984 kB / 0.6169 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/0.733, allocations: 7.938 kB / 0.6169 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007126/0.7337, allocations: 365.8 kB / 0.6172 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.7339, allocations: 144.5 kB / 0.6174 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.7339, allocations: 12 kB / 0.6174 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.7343, allocations: 23.97 kB / 0.6174 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.7344, allocations: 19.92 kB / 0.6174 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.324e-05/0.7345, allocations: 12.67 kB / 0.6174 GB, free: 5.602 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003031/0.7348, allocations: 295.1 kB / 0.6177 GB, free: 5.312 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7348, allocations: 0 / 0.6177 GB, free: 5.312 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000628/0.7354, allocations: 203.7 kB / 0.6179 GB, free: 5.113 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.0004196/0.7358, allocations: 194.2 kB / 0.6181 GB, free: 4.926 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008644/0.7367, allocations: 306.1 kB / 0.6184 GB, free: 4.629 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.7367, allocations: 4 kB / 0.6184 GB, free: 4.625 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.737, allocations: 91.86 kB / 0.6185 GB, free: 4.535 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.7382, allocations: 227.7 kB / 0.6187 GB, free: 4.336 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.7393, allocations: 0.6593 MB / 0.6193 GB, free: 3.637 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.7398, allocations: 0.8035 MB / 0.6201 GB, free: 2.809 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003908/0.7402, allocations: 87.22 kB / 0.6202 GB, free: 2.727 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.8e-05/0.7403, allocations: 35.42 kB / 0.6202 GB, free: 2.691 MB / 494.1 MB Notification: Performance of SimCode: time 1.443e-06/0.7403, allocations: 4 kB / 0.6202 GB, free: 2.688 MB / 494.1 MB Notification: Performance of Templates: time 0.01539/0.7557, allocations: 8.203 MB / 0.6283 GB, free: 10.62 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)