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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002163/0.002163, allocations: 188.7 kB / 22.1 MB, free: 4.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 207.6 MB / 232.8 MB, free: 2.848 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.433/0.433, allocations: 55.68 MB / 340.7 MB, free: 11.57 MB / 270.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter") [Timeout 660] "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.002231/0.002231, allocations: 71.23 kB / 482 MB, free: 36.51 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1653, allocations: 62.89 MB / 0.5321 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.6727/0.8379, allocations: 160.6 MB / 0.689 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003936/0.8419, allocations: 2.238 MB / 0.6912 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000523/0.8424, allocations: 22.34 kB / 0.6912 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009002/0.8433, allocations: 260 kB / 0.6914 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.845, allocations: 0.6214 MB / 0.692 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.8463, allocations: 457.7 kB / 0.6925 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.8479, allocations: 1.076 MB / 0.6935 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004084/0.8483, allocations: 239.2 kB / 0.6937 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.8496, allocations: 0.6004 MB / 0.6943 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004088/0.85, allocations: 299.8 kB / 0.6946 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.126e-05/0.8501, allocations: 33.22 kB / 0.6946 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.8511, allocations: 0.5008 MB / 0.6951 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.8513, allocations: 160.8 kB / 0.6953 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.8516, allocations: 230.9 kB / 0.6955 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.8527, allocations: 0.7723 MB / 0.6963 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.8527, allocations: 0 / 0.6963 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8527, allocations: 0 / 0.6963 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.8527, allocations: 0 / 0.6963 GB, free: 11.37 MB / 0.4981 GB 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.001359/0.8541, allocations: 0.7035 MB / 0.697 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.8541, allocations: 10.28 kB / 0.697 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.8544, allocations: 55.55 kB / 0.697 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.8549, allocations: 307.2 kB / 0.6973 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.8549, allocations: 20.78 kB / 0.6973 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.855, allocations: 26.41 kB / 0.6974 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.8561, allocations: 388.8 kB / 0.6977 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.8561, allocations: 2.062 kB / 0.6977 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.8562, allocations: 12.28 kB / 0.6977 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.8562, allocations: 7.938 kB / 0.6977 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.8572, allocations: 339.3 kB / 0.6981 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.859, allocations: 1.046 MB / 0.6991 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007569/0.8598, allocations: 195.3 kB / 0.6993 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.8599, allocations: 70.09 kB / 0.6993 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.86, allocations: 3.844 kB / 0.6993 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.86, allocations: 41.38 kB / 0.6994 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.86, allocations: 0 / 0.6994 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.001616/0.8616, allocations: 395.5 kB / 0.6998 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.8617, allocations: 54.03 kB / 0.6998 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.8622, allocations: 413.5 kB / 0.7002 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.8622, allocations: 35.8 kB / 0.7002 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.8624, allocations: 211.3 kB / 0.7004 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.8624, allocations: 43.86 kB / 0.7005 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.8625, allocations: 31.97 kB / 0.7005 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.8627, allocations: 353.7 kB / 0.7009 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.863, allocations: 101.7 kB / 0.7009 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.8633, allocations: 149.6 kB / 0.7011 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005824/0.8639, allocations: 234.2 kB / 0.7013 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.8639, allocations: 3.938 kB / 0.7013 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007222/0.8647, allocations: 289.4 kB / 0.7016 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.8647, allocations: 8.719 kB / 0.7016 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.8647, allocations: 3.062 kB / 0.7016 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.8647, allocations: 2.312 kB / 0.7016 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.865, allocations: 54.2 kB / 0.7017 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.865, allocations: 2.094 kB / 0.7017 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.8653, allocations: 46.06 kB / 0.7017 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.8654, allocations: 15.34 kB / 0.7017 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000299/0.8657, allocations: 191.1 kB / 0.7019 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002108/0.8659, allocations: 115.2 kB / 0.702 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003526/0.8662, allocations: 180.1 kB / 0.7022 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.8662, allocations: 0 / 0.7022 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004956/0.8667, allocations: 246.2 kB / 0.7024 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.8667, allocations: 12 kB / 0.7024 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.8667, allocations: 2.438 kB / 0.7024 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-06/0.8667, allocations: 2.469 kB / 0.7024 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.8669, allocations: 38.7 kB / 0.7025 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.8669, allocations: 2.125 kB / 0.7025 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.8672, allocations: 23.12 kB / 0.7025 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.8672, allocations: 5.406 kB / 0.7025 GB, free: 7.621 MB / 0.4981 GB 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.0002245/0.8674, allocations: 202.9 kB / 0.7027 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.157e-05/0.8675, allocations: 40.58 kB / 0.7027 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.595e-05/0.8676, allocations: 39.81 kB / 0.7028 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.8676, allocations: 0 / 0.7028 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.8676, allocations: 3.938 kB / 0.7028 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.8676, allocations: 0 / 0.7028 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.8689, allocations: 0.7013 MB / 0.7035 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.8689, allocations: 2.75 kB / 0.7035 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.8691, allocations: 42.31 kB / 0.7035 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.8691, allocations: 8.969 kB / 0.7035 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.8691, allocations: 2.156 kB / 0.7035 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.8691, allocations: 2.906 kB / 0.7035 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.8692, allocations: 7.969 kB / 0.7035 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007232/0.8699, allocations: 368.7 kB / 0.7039 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.87, allocations: 74.39 kB / 0.7039 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.744e-05/0.8701, allocations: 10.67 kB / 0.704 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.8705, allocations: 27.09 kB / 0.704 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.8706, allocations: 12.73 kB / 0.704 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/0.8706, allocations: 14.39 kB / 0.704 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003427/0.871, allocations: 295.8 kB / 0.7043 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.871, allocations: 0 / 0.7043 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006895/0.8716, allocations: 203 kB / 0.7045 GB, free: 6.199 MB / 0.4981 GB 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.0004823/0.8721, allocations: 197.5 kB / 0.7047 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009323/0.8731, allocations: 296.1 kB / 0.705 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8731, allocations: 0 / 0.705 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.8734, allocations: 97.3 kB / 0.705 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.8745, allocations: 226.5 kB / 0.7053 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.8758, allocations: 0.6649 MB / 0.7059 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.8763, allocations: 0.8082 MB / 0.7067 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003434/0.8767, allocations: 91.55 kB / 0.7068 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.292e-05/0.8768, allocations: 37.89 kB / 0.7068 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.8768, allocations: 0 / 0.7068 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of Templates: time 0.01883/0.8956, allocations: 8.36 MB / 0.715 GB, free: 344 kB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.709577785804868] Failed to read output from testmodel.py, exit status != 0: 0.9050104543566704 0.920669195 0.06485787400000001 Calling exit ...