Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001891/0.001891, 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.002358/0.002358, allocations: 188.7 kB / 22.1 MB, free: 4.223 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.522/1.522, allocations: 207.6 MB / 232.8 MB, free: 2.832 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.4069/0.4069, allocations: 55.68 MB / 340.7 MB, free: 11.48 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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [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.00218/0.00218, allocations: 70.17 kB / 482 MB, free: 36.4 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.125, allocations: 62.89 MB / 0.5322 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002435/0.1274, allocations: 1.249 MB / 0.5334 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1284, allocations: 0.4947 MB / 0.5339 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.1285, allocations: 0 / 0.5339 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.1285, allocations: 0 / 0.5339 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/0.1285, allocations: 11.92 kB / 0.5339 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.129, allocations: 119.5 kB / 0.534 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.15e-05/0.1291, allocations: 15.92 kB / 0.534 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.1292, allocations: 0 / 0.534 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.296e-05/0.1292, allocations: 7.984 kB / 0.534 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.1292, allocations: 4 kB / 0.534 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.1292, allocations: 4 kB / 0.534 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.1297, allocations: 323.5 kB / 0.5343 GB, free: 8.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.1298, allocations: 4 kB / 0.5343 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.1298, allocations: 3.938 kB / 0.5343 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.1301, allocations: 123.6 kB / 0.5344 GB, free: 8.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1301, allocations: 3.938 kB / 0.5344 GB, free: 8.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1301, allocations: 0 / 0.5344 GB, free: 8.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1301, allocations: 0 / 0.5344 GB, free: 8.672 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004372/0.1305, allocations: 274 kB / 0.5347 GB, free: 8.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1306, allocations: 16.03 kB / 0.5347 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.1306, allocations: 0.9375 kB / 0.5347 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1307, allocations: 106.5 kB / 0.5348 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1307, allocations: 4.375 kB / 0.5348 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.1307, allocations: 384 / 0.5348 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008818/0.1316, allocations: 158 kB / 0.535 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1316, allocations: 192 / 0.535 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1316, allocations: 3.938 kB / 0.535 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1316, allocations: 0 / 0.535 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007491/0.1324, allocations: 135.8 kB / 0.5351 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.1326, allocations: 116.8 kB / 0.5352 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008218/0.1334, allocations: 142.4 kB / 0.5354 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.1334, allocations: 8.922 kB / 0.5354 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/0.1337, allocations: 35.95 kB / 0.5354 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.1337, allocations: 34.5 kB / 0.5354 GB, free: 7.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.1337, allocations: 0 / 0.5354 GB, free: 7.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.001544/0.1353, allocations: 289.4 kB / 0.5357 GB, free: 7.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.1353, allocations: 51.41 kB / 0.5358 GB, free: 7.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.337e-05/0.1354, allocations: 101.9 kB / 0.5359 GB, free: 7.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1354, allocations: 29.7 kB / 0.5359 GB, free: 7.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.1355, allocations: 80.14 kB / 0.536 GB, free: 6.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.1355, allocations: 3.953 kB / 0.536 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.1355, allocations: 13.72 kB / 0.536 GB, free: 6.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1357, allocations: 318.8 kB / 0.5363 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.1359, allocations: 36.08 kB / 0.5363 GB, free: 6.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.136, allocations: 31.97 kB / 0.5364 GB, free: 6.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.1363, allocations: 80.73 kB / 0.5364 GB, free: 6.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1363, allocations: 0 / 0.5364 GB, free: 6.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000361/0.1367, allocations: 101.6 kB / 0.5365 GB, free: 6.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.1367, allocations: 7.984 kB / 0.5365 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.1367, allocations: 3.938 kB / 0.5365 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1367, allocations: 4.031 kB / 0.5365 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/0.1392, allocations: 411.5 kB / 0.5369 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004225/0.1435, allocations: 1.835 MB / 0.5387 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.1436, allocations: 12.02 kB / 0.5387 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1436, allocations: 8.047 kB / 0.5387 GB, free: 3.973 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.1437, allocations: 114.4 kB / 0.5389 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.1437, allocations: 0 / 0.5389 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.1437, allocations: 7.312 kB / 0.5389 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.1437, allocations: 0 / 0.5389 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.1437, allocations: 0 / 0.5389 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1437, allocations: 0 / 0.5389 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.1438, allocations: 136.7 kB / 0.539 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1438, allocations: 0 / 0.539 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002511/0.1464, allocations: 423.5 kB / 0.5394 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1464, allocations: 3.938 kB / 0.5394 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1464, allocations: 4 kB / 0.5394 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004019/0.1504, allocations: 1.824 MB / 0.5412 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1504, allocations: 3.984 kB / 0.5412 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.1508, allocations: 137 kB / 0.5413 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.1508, allocations: 4 kB / 0.5413 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.1508, allocations: 3.938 kB / 0.5413 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1509, allocations: 15.98 kB / 0.5413 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.1509, allocations: 3.984 kB / 0.5413 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1509, allocations: 4.031 kB / 0.5413 GB, free: 1.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.65e-05/0.151, allocations: 79.28 kB / 0.5414 GB, free: 1.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.151, allocations: 0 / 0.5414 GB, free: 1.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000219/0.1512, allocations: 8 kB / 0.5414 GB, free: 1.035 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001371/0.1513, allocations: 95.25 kB / 0.5415 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002895/0.1542, allocations: 0.4917 MB / 0.542 GB, free: 448 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1542, allocations: 3.938 kB / 0.542 GB, free: 444 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004272/0.1585, allocations: 0.6556 MB / 0.5426 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.1587, allocations: 7.875 kB / 0.5427 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/0.1622, allocations: 0.7202 MB / 0.5434 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.1625, allocations: 0.6768 MB / 0.544 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.674e-05/0.1625, allocations: 0 / 0.544 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.1626, allocations: 11.44 kB / 0.544 GB, free: 14.31 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1626, allocations: 0 / 0.544 GB, free: 14.31 MB / 414.1 MB Notification: Performance of Templates: time 0.002928/0.1655, allocations: 0.5692 MB / 0.5446 GB, free: 13.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1969015542417765] Failed to read output from testmodel.py, exit status != 0: 0.1729554496705532 0.189065533 0.055852177 Calling exit ...