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.00141/0.00141, allocations: 108 kB / 15.6 MB, free: 132 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.00198/0.00198, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.677/1.677, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.7 MB, free: 15.96 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.001558/0.001558, allocations: 67.91 kB / 395.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1577, allocations: 59.57 MB / 454.9 MB, free: 204 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.PressureDrop): time 0.4661/0.6238, allocations: 161.5 MB / 0.602 GB, free: 5.922 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.6266, allocations: 1.551 MB / 0.6035 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002693/0.6269, allocations: 7.938 kB / 0.6035 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007843/0.6277, allocations: 242.6 kB / 0.6037 GB, free: 4.125 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009111/0.6286, allocations: 406.4 kB / 0.6041 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000989/0.6296, allocations: 455.9 kB / 0.6045 GB, free: 3.289 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009529/0.6306, allocations: 0.8973 MB / 0.6054 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003737/0.631, allocations: 249.6 kB / 0.6057 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008588/0.6319, allocations: 0.5098 MB / 0.6062 GB, free: 1.645 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003182/0.6322, allocations: 254.9 kB / 0.6064 GB, free: 1.395 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.928e-05/0.6323, allocations: 28 kB / 0.6064 GB, free: 1.367 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007502/0.633, allocations: 491.2 kB / 0.6069 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.6332, allocations: 151.6 kB / 0.607 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.6334, allocations: 211.1 kB / 0.6072 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007437/0.6342, allocations: 0.6388 MB / 0.6079 GB, free: 15.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6342, allocations: 0 / 0.6079 GB, free: 15.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6342, allocations: 0 / 0.6079 GB, free: 15.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.6342, allocations: 0 / 0.6079 GB, free: 15.89 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001257/0.6355, allocations: 0.7023 MB / 0.6085 GB, free: 15.14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.6355, allocations: 8.031 kB / 0.6086 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.6358, allocations: 51.52 kB / 0.6086 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.6362, allocations: 329.2 kB / 0.6089 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.6362, allocations: 16.56 kB / 0.6089 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.6363, allocations: 28 kB / 0.609 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.6373, allocations: 380.7 kB / 0.6093 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.6373, allocations: 0 / 0.6093 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.6374, allocations: 12.69 kB / 0.6093 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.6374, allocations: 4 kB / 0.6093 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009077/0.6383, allocations: 314 kB / 0.6096 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.64, allocations: 1.092 MB / 0.6107 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/0.6406, allocations: 186.6 kB / 0.6109 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.6408, allocations: 75.19 kB / 0.611 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.6408, allocations: 3.938 kB / 0.611 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.6409, allocations: 38.56 kB / 0.611 GB, free: 12.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.6409, allocations: 0 / 0.611 GB, free: 12.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001415/0.6423, allocations: 361.6 kB / 0.6113 GB, free: 12.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.6423, allocations: 55.39 kB / 0.6114 GB, free: 12.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.6427, allocations: 377.6 kB / 0.6117 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.6428, allocations: 29.7 kB / 0.6118 GB, free: 11.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.6429, allocations: 192 kB / 0.612 GB, free: 11.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.643, allocations: 43.39 kB / 0.612 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.517e-05/0.6431, allocations: 41.7 kB / 0.612 GB, free: 11.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.6432, allocations: 346.7 kB / 0.6124 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.6435, allocations: 96.72 kB / 0.6125 GB, free: 10.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.6438, allocations: 157.4 kB / 0.6126 GB, free: 10.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005527/0.6444, allocations: 227.8 kB / 0.6128 GB, free: 10.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.6444, allocations: 0 / 0.6128 GB, free: 10.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006748/0.6451, allocations: 287.4 kB / 0.6131 GB, free: 10.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.6451, allocations: 8.781 kB / 0.6131 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6451, allocations: 0 / 0.6131 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.6452, allocations: 4 kB / 0.6131 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.6454, allocations: 56.02 kB / 0.6132 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.6455, allocations: 4 kB / 0.6132 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.6458, allocations: 44.66 kB / 0.6132 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.6458, allocations: 5.938 kB / 0.6132 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002427/0.6461, allocations: 184.1 kB / 0.6134 GB, free: 9.906 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001885/0.6463, allocations: 124.4 kB / 0.6135 GB, free: 9.758 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003141/0.6466, allocations: 186.9 kB / 0.6137 GB, free: 9.555 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.6466, allocations: 0 / 0.6137 GB, free: 9.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004206/0.647, allocations: 230.3 kB / 0.6139 GB, free: 9.324 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/0.647, allocations: 4 kB / 0.6139 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-06/0.647, allocations: 0 / 0.6139 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.64e-06/0.6471, allocations: 9.438 kB / 0.6139 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.6472, allocations: 39.91 kB / 0.614 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.6472, allocations: 4 kB / 0.614 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.6475, allocations: 23.83 kB / 0.614 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.6475, allocations: 8 kB / 0.614 GB, free: 9.238 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.0001453/0.6476, allocations: 196.1 kB / 0.6142 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.115e-05/0.6477, allocations: 31.62 kB / 0.6142 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.166e-05/0.6478, allocations: 38.86 kB / 0.6143 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.6478, allocations: 0 / 0.6143 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6478, allocations: 0.6875 kB / 0.6143 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.6478, allocations: 0 / 0.6143 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.649, allocations: 0.7177 MB / 0.615 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.649, allocations: 1.812 kB / 0.615 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.6492, allocations: 39.95 kB / 0.615 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.6493, allocations: 4.938 kB / 0.615 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.6493, allocations: 20.05 kB / 0.615 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6493, allocations: 0 / 0.615 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.6493, allocations: 4 kB / 0.615 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.65, allocations: 360.9 kB / 0.6154 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.6501, allocations: 136.7 kB / 0.6155 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/0.6502, allocations: 11.94 kB / 0.6155 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.6506, allocations: 31.95 kB / 0.6155 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.6506, allocations: 19.92 kB / 0.6156 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/0.6507, allocations: 8 kB / 0.6156 GB, free: 7.492 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002691/0.651, allocations: 275.8 kB / 0.6158 GB, free: 7.223 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.651, allocations: 0 / 0.6158 GB, free: 7.223 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005471/0.6515, allocations: 147.8 kB / 0.616 GB, free: 7.078 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.0003321/0.6519, allocations: 145.4 kB / 0.6161 GB, free: 6.938 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008249/0.6527, allocations: 309 kB / 0.6164 GB, free: 6.637 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6527, allocations: 0 / 0.6164 GB, free: 6.637 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002774/0.653, allocations: 92.62 kB / 0.6165 GB, free: 6.547 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.654, allocations: 202.4 kB / 0.6167 GB, free: 6.375 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.6551, allocations: 0.6043 MB / 0.6173 GB, free: 5.738 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.6555, allocations: 0.7917 MB / 0.618 GB, free: 4.922 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003555/0.6558, allocations: 90.89 kB / 0.6181 GB, free: 4.832 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.6559, allocations: 27.44 kB / 0.6182 GB, free: 4.805 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.6559, allocations: 0 / 0.6182 GB, free: 4.805 MB / 494.1 MB Notification: Performance of Templates: time 0.01304/0.669, allocations: 7.017 MB / 0.625 GB, free: 13.9 MB / 0.4981 GB 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)