Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Annex60.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001203/0.001204, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.721/1.721, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4678/0.4678, allocations: 54.92 MB / 324.3 MB, free: 164 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.00142/0.00142, allocations: 67.91 kB / 394.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1548, allocations: 59.6 MB / 454.2 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.PressureDrop): time 0.4514/0.6062, allocations: 159.2 MB / 0.5991 GB, free: 8.672 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002885/0.6092, allocations: 1.589 MB / 0.6007 GB, free: 7.082 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002858/0.6095, allocations: 7.938 kB / 0.6007 GB, free: 7.074 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008686/0.6104, allocations: 210.9 kB / 0.6009 GB, free: 6.867 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.6116, allocations: 390.2 kB / 0.6012 GB, free: 6.484 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.6127, allocations: 393.2 kB / 0.6016 GB, free: 6.105 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.6141, allocations: 1.229 MB / 0.6028 GB, free: 4.875 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003677/0.6145, allocations: 221.5 kB / 0.603 GB, free: 4.668 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.6156, allocations: 454.1 kB / 0.6035 GB, free: 4.223 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.616, allocations: 270.9 kB / 0.6037 GB, free: 3.957 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.802e-05/0.6161, allocations: 16 kB / 0.6037 GB, free: 3.941 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009501/0.617, allocations: 495.1 kB / 0.6042 GB, free: 3.457 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.6172, allocations: 143.6 kB / 0.6043 GB, free: 3.316 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.6175, allocations: 188.3 kB / 0.6045 GB, free: 3.133 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008726/0.6183, allocations: 0.6387 MB / 0.6051 GB, free: 2.492 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.6184, allocations: 0 / 0.6051 GB, free: 2.492 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.6184, allocations: 3.938 kB / 0.6051 GB, free: 2.488 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.6184, allocations: 0 / 0.6051 GB, free: 2.488 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001449/0.6198, allocations: 0.6945 MB / 0.6058 GB, free: 1.75 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.6199, allocations: 12.03 kB / 0.6058 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/0.6202, allocations: 51.52 kB / 0.6059 GB, free: 1.688 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.6206, allocations: 321.2 kB / 0.6062 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.6207, allocations: 24.56 kB / 0.6062 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.6207, allocations: 24 kB / 0.6062 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.6218, allocations: 377.7 kB / 0.6066 GB, free: 0.918 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.6219, allocations: 0 / 0.6066 GB, free: 0.918 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.6219, allocations: 16 kB / 0.6066 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.6219, allocations: 11.98 kB / 0.6066 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009444/0.6229, allocations: 318 kB / 0.6069 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.6248, allocations: 1.076 MB / 0.608 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007166/0.6255, allocations: 186.5 kB / 0.6082 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.6257, allocations: 77.38 kB / 0.6082 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.6257, allocations: 0 / 0.6082 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.6258, allocations: 43.34 kB / 0.6083 GB, free: 15.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.6258, allocations: 0 / 0.6083 GB, free: 15.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001511/0.6273, allocations: 365.6 kB / 0.6086 GB, free: 14.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.6274, allocations: 51.41 kB / 0.6087 GB, free: 14.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004289/0.6278, allocations: 373.6 kB / 0.609 GB, free: 14.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.6279, allocations: 33.7 kB / 0.6091 GB, free: 14.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.628, allocations: 199.9 kB / 0.6093 GB, free: 14.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.6281, allocations: 39.41 kB / 0.6093 GB, free: 14.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.649e-05/0.6282, allocations: 37.7 kB / 0.6093 GB, free: 13.97 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.6284, allocations: 351.5 kB / 0.6097 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.6287, allocations: 94.5 kB / 0.6097 GB, free: 13.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.629, allocations: 152.1 kB / 0.6099 GB, free: 13.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/0.6296, allocations: 227.7 kB / 0.6101 GB, free: 13.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6296, allocations: 0 / 0.6101 GB, free: 13.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007311/0.6304, allocations: 286.2 kB / 0.6104 GB, free: 12.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.6304, allocations: 11.98 kB / 0.6104 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.6304, allocations: 2.156 kB / 0.6104 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.6305, allocations: 4 kB / 0.6104 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.6308, allocations: 52.09 kB / 0.6105 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.6308, allocations: 7.938 kB / 0.6105 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.6312, allocations: 51.64 kB / 0.6105 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.6312, allocations: 12.55 kB / 0.6105 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002836/0.6315, allocations: 180.1 kB / 0.6107 GB, free: 12.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001865/0.6317, allocations: 124.3 kB / 0.6108 GB, free: 12.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003116/0.632, allocations: 187.5 kB / 0.611 GB, free: 12.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.923e-06/0.632, allocations: 0 / 0.611 GB, free: 12.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004136/0.6325, allocations: 231.1 kB / 0.6112 GB, free: 11.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.6325, allocations: 12.12 kB / 0.6112 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.6325, allocations: 0 / 0.6112 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-06/0.6325, allocations: 4 kB / 0.6112 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.6327, allocations: 35.92 kB / 0.6113 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.6327, allocations: 4.625 kB / 0.6113 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.6329, allocations: 32.38 kB / 0.6113 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.6329, allocations: 4 kB / 0.6113 GB, free: 11.84 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 (19): * Single equations (assignments): 19 * 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.0001578/0.6331, allocations: 196.1 kB / 0.6115 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.6332, allocations: 35.62 kB / 0.6115 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.606e-05/0.6333, allocations: 34.86 kB / 0.6116 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.6333, allocations: 4 kB / 0.6116 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.6333, allocations: 2.375 kB / 0.6116 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6333, allocations: 0 / 0.6116 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.6346, allocations: 0.7022 MB / 0.6122 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6346, allocations: 7.938 kB / 0.6123 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.6348, allocations: 45.16 kB / 0.6123 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.6349, allocations: 0 / 0.6123 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.6349, allocations: 15.92 kB / 0.6123 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.6349, allocations: 4 kB / 0.6123 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6349, allocations: 0 / 0.6123 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000707/0.6356, allocations: 369.8 kB / 0.6127 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.6358, allocations: 140.7 kB / 0.6128 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.6358, allocations: 3.938 kB / 0.6128 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.6362, allocations: 36.45 kB / 0.6128 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.6363, allocations: 11.98 kB / 0.6129 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-05/0.6364, allocations: 21.3 kB / 0.6129 GB, free: 10.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003047/0.6367, allocations: 271.1 kB / 0.6131 GB, free: 9.824 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6367, allocations: 0 / 0.6131 GB, free: 9.824 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006257/0.6373, allocations: 147.8 kB / 0.6133 GB, free: 9.68 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 (11): * Single equations (assignments): 11 * 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.0005156/0.6379, allocations: 145.6 kB / 0.6134 GB, free: 9.539 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008641/0.6387, allocations: 293.3 kB / 0.6137 GB, free: 9.254 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.6388, allocations: 8 kB / 0.6137 GB, free: 9.246 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003058/0.6391, allocations: 92.94 kB / 0.6138 GB, free: 9.156 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.6403, allocations: 211.9 kB / 0.614 GB, free: 8.957 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.6416, allocations: 0.6981 MB / 0.6147 GB, free: 8.227 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.6421, allocations: 0.7843 MB / 0.6154 GB, free: 7.418 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004187/0.6426, allocations: 83.84 kB / 0.6155 GB, free: 7.336 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.132e-05/0.6427, allocations: 31.42 kB / 0.6155 GB, free: 7.305 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.6427, allocations: 7.938 kB / 0.6156 GB, free: 7.297 MB / 494.1 MB Notification: Performance of Templates: time 0.01396/0.6566, allocations: 6.789 MB / 0.6222 GB, free: 0.6211 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)