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.001086/0.001086, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.00128/0.00128, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.432/0.432, allocations: 55.02 MB / 325.4 MB, free: 0.6055 MB / 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.000658/0.0006584, allocations: 16 kB / 396.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5348/0.5354, allocations: 60.71 MB / 457.4 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.PressureDrop): time 0.2057/0.7412, allocations: 146.7 MB / 0.5899 GB, free: 4.547 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.7439, allocations: 1.46 MB / 0.5913 GB, free: 3.086 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.7441, allocations: 7.938 kB / 0.5913 GB, free: 3.078 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006044/0.7448, allocations: 152 kB / 0.5914 GB, free: 2.93 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0008756/0.7456, allocations: 355.4 kB / 0.5918 GB, free: 2.582 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.7467, allocations: 357.7 kB / 0.5921 GB, free: 2.238 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.7479, allocations: 1.038 MB / 0.5931 GB, free: 1.199 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003592/0.7482, allocations: 198.4 kB / 0.5933 GB, free: 1.012 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008993/0.7491, allocations: 430.2 kB / 0.5937 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.7495, allocations: 263 kB / 0.594 GB, free: 340 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.7496, allocations: 16 kB / 0.594 GB, free: 324 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000753/0.7503, allocations: 423.3 kB / 0.5944 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.7505, allocations: 135.6 kB / 0.5945 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.341e-05/0.7506, allocations: 102.3 kB / 0.5946 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005398/0.7511, allocations: 478.8 kB / 0.5951 GB, free: 15.2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7511, allocations: 7.938 kB / 0.5951 GB, free: 15.19 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.7512, allocations: 4 kB / 0.5951 GB, free: 15.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.7512, allocations: 0 / 0.5951 GB, free: 15.18 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.001132/0.7523, allocations: 0.6253 MB / 0.5957 GB, free: 14.51 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.7524, allocations: 8.031 kB / 0.5957 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002592/0.7526, allocations: 55.52 kB / 0.5958 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.7531, allocations: 313.8 kB / 0.5961 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.7531, allocations: 20.56 kB / 0.5961 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.7531, allocations: 25.72 kB / 0.5961 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.7542, allocations: 400.6 kB / 0.5965 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.7542, allocations: 0 / 0.5965 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.7542, allocations: 16 kB / 0.5965 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.7543, allocations: 8 kB / 0.5965 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008583/0.7551, allocations: 337.9 kB / 0.5968 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.7568, allocations: 1.081 MB / 0.5979 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.7575, allocations: 206.4 kB / 0.5981 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.7577, allocations: 76.89 kB / 0.5982 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.7577, allocations: 0 / 0.5982 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.7577, allocations: 38.56 kB / 0.5982 GB, free: 11.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.7578, allocations: 0 / 0.5982 GB, free: 11.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.00133/0.7591, allocations: 405.9 kB / 0.5986 GB, free: 11.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.7591, allocations: 59.34 kB / 0.5986 GB, free: 11.33 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.7596, allocations: 371.6 kB / 0.599 GB, free: 10.96 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.7596, allocations: 33.7 kB / 0.599 GB, free: 10.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.7598, allocations: 199.9 kB / 0.5992 GB, free: 10.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.7598, allocations: 35.47 kB / 0.5993 GB, free: 10.69 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.7598, allocations: 4 kB / 0.5993 GB, free: 10.69 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.7599, allocations: 346.8 kB / 0.5996 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.7602, allocations: 99.92 kB / 0.5997 GB, free: 10.24 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.7605, allocations: 160.1 kB / 0.5998 GB, free: 10.06 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.7608, allocations: 116.9 kB / 0.5999 GB, free: 9.945 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.7608, allocations: 0 / 0.5999 GB, free: 9.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006107/0.7614, allocations: 306.3 kB / 0.6002 GB, free: 9.641 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.649e-05/0.7615, allocations: 131 kB / 0.6004 GB, free: 9.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.7615, allocations: 0 / 0.6004 GB, free: 9.488 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.7615, allocations: 4 kB / 0.6004 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.7618, allocations: 59.89 kB / 0.6004 GB, free: 9.426 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.7618, allocations: 4 kB / 0.6004 GB, free: 9.422 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/0.7621, allocations: 63.52 kB / 0.6005 GB, free: 9.359 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.7622, allocations: 9.312 kB / 0.6005 GB, free: 9.352 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.162e-06/0.7622, allocations: 4 kB / 0.6005 GB, free: 9.348 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003339/0.7625, allocations: 183.7 kB / 0.6007 GB, free: 9.168 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.7625, allocations: 5.953 kB / 0.6007 GB, free: 9.164 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/0.7625, allocations: 4 kB / 0.6007 GB, free: 9.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.7627, allocations: 43.92 kB / 0.6007 GB, free: 9.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.7627, allocations: 0 / 0.6007 GB, free: 9.117 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.7629, allocations: 35.89 kB / 0.6008 GB, free: 9.082 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.7629, allocations: 12 kB / 0.6008 GB, free: 9.07 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001924/0.7631, allocations: 229.1 kB / 0.601 GB, free: 8.836 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.754e-05/0.7632, allocations: 40.58 kB / 0.601 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.469e-05/0.7633, allocations: 34.86 kB / 0.6011 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.7633, allocations: 8 kB / 0.6011 GB, free: 8.746 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.7633, allocations: 0 / 0.6011 GB, free: 8.746 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.7633, allocations: 3.938 kB / 0.6011 GB, free: 8.742 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.7644, allocations: 0.7256 MB / 0.6018 GB, free: 7.941 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.7645, allocations: 1.5 kB / 0.6018 GB, free: 7.941 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.7647, allocations: 47.89 kB / 0.6018 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.7647, allocations: 4 kB / 0.6018 GB, free: 7.891 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.7647, allocations: 8 kB / 0.6018 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.7647, allocations: 1.719 kB / 0.6018 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7647, allocations: 8.188 kB / 0.6019 GB, free: 7.875 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006251/0.7653, allocations: 390.4 kB / 0.6022 GB, free: 7.461 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.7655, allocations: 136.6 kB / 0.6024 GB, free: 7.309 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/0.7656, allocations: 7.984 kB / 0.6024 GB, free: 7.301 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.7659, allocations: 41.09 kB / 0.6024 GB, free: 7.262 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.766, allocations: 15.92 kB / 0.6024 GB, free: 7.246 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/0.766, allocations: 19.98 kB / 0.6024 GB, free: 7.227 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000263/0.7663, allocations: 263.2 kB / 0.6027 GB, free: 6.973 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7663, allocations: 0 / 0.6027 GB, free: 6.973 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005388/0.7669, allocations: 156.8 kB / 0.6028 GB, free: 6.82 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000371/0.7672, allocations: 153.8 kB / 0.603 GB, free: 6.668 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007708/0.768, allocations: 318 kB / 0.6033 GB, free: 6.359 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.768, allocations: 0 / 0.6033 GB, free: 6.359 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.7683, allocations: 108.2 kB / 0.6034 GB, free: 6.254 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.7694, allocations: 208.6 kB / 0.6036 GB, free: 6.059 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.7705, allocations: 0.7011 MB / 0.6043 GB, free: 5.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.7709, allocations: 0.7882 MB / 0.605 GB, free: 4.508 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003672/0.7712, allocations: 86.91 kB / 0.6051 GB, free: 4.422 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.7713, allocations: 31.42 kB / 0.6052 GB, free: 4.391 MB / 478.1 MB Notification: Performance of SimCode: time 2.11e-07/0.7713, allocations: 0 / 0.6052 GB, free: 4.391 MB / 478.1 MB Notification: Performance of Templates: time 0.01207/0.7834, allocations: 6.546 MB / 0.6116 GB, free: 13.95 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: