Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001803/0.001803, allocations: 104.2 kB / 16.4 MB, free: 6.488 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.00194/0.00194, allocations: 191.7 kB / 19.35 MB, free: 3.754 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.477/1.477, allocations: 205.1 MB / 227.2 MB, free: 12.16 MB / 190.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.289/0.289, allocations: 54.96 MB / 331.6 MB, free: 2.758 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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [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.002199/0.002199, allocations: 68.69 kB / 464.9 MB, free: 348 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1312, allocations: 59.6 MB / 0.5122 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002424/0.1337, allocations: 1.23 MB / 0.5134 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008842/0.1346, allocations: 0.503 MB / 0.5139 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.1347, allocations: 0 / 0.5139 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.1347, allocations: 4 kB / 0.5139 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.858e-05/0.1347, allocations: 7.922 kB / 0.5139 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.1352, allocations: 111.5 kB / 0.514 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.272e-05/0.1352, allocations: 15.92 kB / 0.514 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.1353, allocations: 0 / 0.514 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.971e-05/0.1353, allocations: 7.938 kB / 0.514 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.02e-05/0.1353, allocations: 4 kB / 0.5141 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1354, allocations: 4 kB / 0.5141 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005545/0.1359, allocations: 343.4 kB / 0.5144 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.177e-06/0.1359, allocations: 0 / 0.5144 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.136, allocations: 15.92 kB / 0.5144 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.1362, allocations: 119.7 kB / 0.5145 GB, free: 2.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1362, allocations: 4 kB / 0.5145 GB, free: 2.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1362, allocations: 0 / 0.5145 GB, free: 2.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1362, allocations: 0 / 0.5145 GB, free: 2.422 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.0004206/0.1367, allocations: 363.1 kB / 0.5149 GB, free: 2.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1367, allocations: 8.031 kB / 0.5149 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.1367, allocations: 0.9375 kB / 0.5149 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.1369, allocations: 164.3 kB / 0.515 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.1369, allocations: 384 / 0.515 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.1369, allocations: 4.375 kB / 0.515 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.1374, allocations: 86.19 kB / 0.5151 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1374, allocations: 192 / 0.5151 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1374, allocations: 3.938 kB / 0.5151 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1375, allocations: 8 kB / 0.5151 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.1378, allocations: 51.94 kB / 0.5152 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.138, allocations: 153.7 kB / 0.5153 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.1384, allocations: 78.48 kB / 0.5154 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.228e-05/0.1384, allocations: 12.91 kB / 0.5154 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.1387, allocations: 105.1 kB / 0.5155 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1387, allocations: 38.56 kB / 0.5155 GB, free: 1.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1387, allocations: 0 / 0.5155 GB, free: 1.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007963/0.1395, allocations: 149.6 kB / 0.5157 GB, free: 1.031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.1396, allocations: 55.39 kB / 0.5157 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.198e-05/0.1397, allocations: 93.86 kB / 0.5158 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1397, allocations: 29.64 kB / 0.5159 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.1398, allocations: 80.3 kB / 0.5159 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.1398, allocations: 15.88 kB / 0.5159 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.1399, allocations: 17.72 kB / 0.516 GB, free: 0.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.1401, allocations: 314.8 kB / 0.5163 GB, free: 400 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.606e-05/0.1402, allocations: 15.98 kB / 0.5163 GB, free: 384 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.164e-05/0.1403, allocations: 23.98 kB / 0.5163 GB, free: 360 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.1405, allocations: 40.89 kB / 0.5163 GB, free: 316 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1405, allocations: 0 / 0.5163 GB, free: 316 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002337/0.1407, allocations: 77.61 kB / 0.5164 GB, free: 232 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1408, allocations: 8.031 kB / 0.5164 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1408, allocations: 3.938 kB / 0.5164 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.1408, allocations: 4 kB / 0.5164 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.1422, allocations: 215.7 kB / 0.5166 GB, free: 0 / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.1452, allocations: 1.647 MB / 0.5182 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.866e-05/0.1453, allocations: 8.094 kB / 0.5183 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.1453, allocations: 7.938 kB / 0.5183 GB, free: 14.2 MB / 414.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.0001008/0.1454, allocations: 118.2 kB / 0.5184 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-06/0.1454, allocations: 0 / 0.5184 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.533e-05/0.1454, allocations: 11.11 kB / 0.5184 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1454, allocations: 4 kB / 0.5184 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1454, allocations: 0 / 0.5184 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.1454, allocations: 0 / 0.5184 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.1456, allocations: 153.6 kB / 0.5185 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1456, allocations: 4 kB / 0.5185 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.147, allocations: 223.7 kB / 0.5188 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.147, allocations: 0 / 0.5188 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.147, allocations: 0 / 0.5188 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002686/0.1497, allocations: 1.658 MB / 0.5204 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1497, allocations: 0 / 0.5204 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.15, allocations: 101.1 kB / 0.5205 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.15, allocations: 77.11 kB / 0.5205 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.1501, allocations: 11.97 kB / 0.5206 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.451e-05/0.1501, allocations: 7.984 kB / 0.5206 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.1502, allocations: 0 / 0.5206 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.1502, allocations: 0 / 0.5206 GB, free: 11.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.625e-05/0.1502, allocations: 79.28 kB / 0.5206 GB, free: 11.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1502, allocations: 0 / 0.5206 GB, free: 11.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0001992/0.1504, allocations: 12 kB / 0.5206 GB, free: 11.52 MB / 414.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.0001269/0.1506, allocations: 107.3 kB / 0.5208 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.1522, allocations: 259.7 kB / 0.521 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1522, allocations: 4 kB / 0.521 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002576/0.1548, allocations: 403.6 kB / 0.5214 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.155, allocations: 3.938 kB / 0.5214 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.1573, allocations: 457.5 kB / 0.5218 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.1577, allocations: 0.669 MB / 0.5225 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.806e-05/0.1577, allocations: 7.938 kB / 0.5225 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.1577, allocations: 7.438 kB / 0.5225 GB, free: 9.562 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1577, allocations: 0 / 0.5225 GB, free: 9.562 MB / 414.1 MB Notification: Performance of Templates: time 0.003059/0.1608, allocations: 0.4963 MB / 0.523 GB, free: 9.102 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.21981533896178]