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.0013/0.0013, allocations: 109.4 kB / 15.69 MB, free: 128 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.001825/0.001825, allocations: 188.5 kB / 16.62 MB, free: 6.582 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.534/1.534, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4264/0.4264, allocations: 54.95 MB / 324.8 MB, free: 4 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.001627/0.001627, allocations: 68.47 kB / 396.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4041, allocations: 59.58 MB / 455.7 MB, free: 40.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.1944/0.5985, allocations: 161.7 MB / 0.603 GB, free: 5.508 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003933/0.6025, allocations: 2.224 MB / 0.6051 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006147/0.6032, allocations: 25.22 kB / 0.6052 GB, free: 3.258 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009898/0.6042, allocations: 242.6 kB / 0.6054 GB, free: 3.02 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.6059, allocations: 0.5995 MB / 0.606 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.6071, allocations: 443.6 kB / 0.6064 GB, free: 1.992 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.6085, allocations: 1.051 MB / 0.6074 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000422/0.609, allocations: 279 kB / 0.6077 GB, free: 0.668 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.6101, allocations: 0.5604 MB / 0.6083 GB, free: 108 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003867/0.6105, allocations: 275 kB / 0.6085 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.506e-05/0.6106, allocations: 32 kB / 0.6085 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009558/0.6115, allocations: 0.6082 MB / 0.6091 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.6117, allocations: 159.6 kB / 0.6093 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.6119, allocations: 234.9 kB / 0.6095 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009106/0.6129, allocations: 0.7867 MB / 0.6103 GB, free: 14.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6129, allocations: 0 / 0.6103 GB, free: 14.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6129, allocations: 0 / 0.6103 GB, free: 14.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.6129, allocations: 1.219 kB / 0.6103 GB, free: 14.02 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.001195/0.6141, allocations: 0.7683 MB / 0.611 GB, free: 13.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.6142, allocations: 8.031 kB / 0.611 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.6144, allocations: 63.36 kB / 0.6111 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006175/0.615, allocations: 366.5 kB / 0.6115 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.6151, allocations: 16.56 kB / 0.6115 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.6151, allocations: 28.88 kB / 0.6115 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.6162, allocations: 392.7 kB / 0.6119 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.6162, allocations: 0 / 0.6119 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.6163, allocations: 8 kB / 0.6119 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.6163, allocations: 8 kB / 0.6119 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009816/0.6173, allocations: 333.9 kB / 0.6122 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.619, allocations: 1.092 MB / 0.6133 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007322/0.6198, allocations: 194.5 kB / 0.6135 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.6199, allocations: 78.64 kB / 0.6135 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.62, allocations: 0 / 0.6135 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.62, allocations: 42.5 kB / 0.6136 GB, free: 10.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.62, allocations: 0 / 0.6136 GB, free: 10.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.001576/0.6216, allocations: 391 kB / 0.6139 GB, free: 10.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.6216, allocations: 60.42 kB / 0.614 GB, free: 9.996 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.6221, allocations: 417.5 kB / 0.6144 GB, free: 9.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.6221, allocations: 25.7 kB / 0.6144 GB, free: 9.551 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.6223, allocations: 204 kB / 0.6146 GB, free: 9.348 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.6223, allocations: 47.39 kB / 0.6147 GB, free: 9.301 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/0.6224, allocations: 37.7 kB / 0.6147 GB, free: 9.258 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.6226, allocations: 346.7 kB / 0.615 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.6229, allocations: 98.5 kB / 0.6151 GB, free: 8.812 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.6232, allocations: 146.7 kB / 0.6153 GB, free: 8.645 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.6237, allocations: 227.3 kB / 0.6155 GB, free: 8.402 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6237, allocations: 4 kB / 0.6155 GB, free: 8.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006566/0.6244, allocations: 294.3 kB / 0.6158 GB, free: 8.105 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.6244, allocations: 8 kB / 0.6158 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.6245, allocations: 0.875 kB / 0.6158 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.6245, allocations: 4 kB / 0.6158 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.6248, allocations: 60.02 kB / 0.6158 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.6248, allocations: 4 kB / 0.6158 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.6251, allocations: 51.53 kB / 0.6159 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.6251, allocations: 8 kB / 0.6159 GB, free: 7.973 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002544/0.6254, allocations: 188.9 kB / 0.6161 GB, free: 7.785 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001626/0.6256, allocations: 118.2 kB / 0.6162 GB, free: 7.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002912/0.6259, allocations: 184.5 kB / 0.6164 GB, free: 7.449 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.353e-06/0.6259, allocations: 0 / 0.6164 GB, free: 7.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003952/0.6263, allocations: 238 kB / 0.6166 GB, free: 7.211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/0.6263, allocations: 4 kB / 0.6166 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.6263, allocations: 4 kB / 0.6166 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-06/0.6263, allocations: 4.125 kB / 0.6166 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.6265, allocations: 43.91 kB / 0.6166 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.6265, allocations: 5.031 kB / 0.6167 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.6267, allocations: 20.7 kB / 0.6167 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.6267, allocations: 4 kB / 0.6167 GB, free: 7.129 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.000132/0.6269, allocations: 196.1 kB / 0.6169 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.687e-05/0.6269, allocations: 39.53 kB / 0.6169 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.145e-05/0.627, allocations: 43.11 kB / 0.6169 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.6271, allocations: 4 kB / 0.6169 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6271, allocations: 7.938 kB / 0.617 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.6271, allocations: 3.938 kB / 0.617 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.6282, allocations: 0.7112 MB / 0.6176 GB, free: 6.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.6283, allocations: 7.938 kB / 0.6177 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.6285, allocations: 49.39 kB / 0.6177 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.6285, allocations: 4 kB / 0.6177 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.6285, allocations: 0 / 0.6177 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/0.6285, allocations: 4.875 kB / 0.6177 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6285, allocations: 4.188 kB / 0.6177 GB, free: 5.977 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006655/0.6292, allocations: 368.1 kB / 0.6181 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.6294, allocations: 148.5 kB / 0.6182 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/0.6294, allocations: 8 kB / 0.6182 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/0.6298, allocations: 27.95 kB / 0.6182 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.6299, allocations: 19.98 kB / 0.6183 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.6299, allocations: 14.42 kB / 0.6183 GB, free: 5.352 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003135/0.6303, allocations: 291.1 kB / 0.6186 GB, free: 5.066 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6303, allocations: 0 / 0.6186 GB, free: 5.066 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006491/0.6309, allocations: 203.7 kB / 0.6187 GB, free: 4.867 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.0004738/0.6314, allocations: 188.8 kB / 0.6189 GB, free: 4.684 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008411/0.6323, allocations: 303.5 kB / 0.6192 GB, free: 4.387 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.6323, allocations: 0.5 kB / 0.6192 GB, free: 4.387 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.6326, allocations: 111.7 kB / 0.6193 GB, free: 4.277 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.6336, allocations: 209.5 kB / 0.6195 GB, free: 4.094 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.6347, allocations: 0.6645 MB / 0.6202 GB, free: 3.391 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.6351, allocations: 0.7997 MB / 0.621 GB, free: 2.566 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003217/0.6354, allocations: 92.3 kB / 0.621 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.159e-05/0.6355, allocations: 31.44 kB / 0.6211 GB, free: 2.449 MB / 494.1 MB Notification: Performance of SimCode: time 6.12e-07/0.6355, allocations: 0 / 0.6211 GB, free: 2.449 MB / 494.1 MB Notification: Performance of Templates: time 0.01301/0.6485, allocations: 8.187 MB / 0.6291 GB, free: 10.38 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)