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.001753/0.001753, 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.002025/0.002025, allocations: 191.7 kB / 22.11 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.551/1.551, allocations: 207.6 MB / 232.8 MB, free: 2.688 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.42/0.42, allocations: 55.67 MB / 340.7 MB, free: 11.39 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.002129/0.002129, allocations: 74.58 kB / 482 MB, free: 36.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1165, allocations: 62.88 MB / 0.5322 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002625/0.1191, allocations: 1.235 MB / 0.5334 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009303/0.12, allocations: 0.5103 MB / 0.5339 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.1201, allocations: 0 / 0.5339 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.528e-05/0.1201, allocations: 0 / 0.5339 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.066e-05/0.1201, allocations: 4 kB / 0.5339 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.1205, allocations: 119.4 kB / 0.534 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.684e-05/0.1206, allocations: 11.98 kB / 0.534 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.1206, allocations: 4 kB / 0.534 GB, free: 9.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.64e-05/0.1206, allocations: 4 kB / 0.534 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.451e-05/0.1207, allocations: 4 kB / 0.534 GB, free: 9.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1207, allocations: 0 / 0.534 GB, free: 9.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005132/0.1212, allocations: 327.5 kB / 0.5343 GB, free: 8.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.928e-05/0.1212, allocations: 4 kB / 0.5343 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.1212, allocations: 7.922 kB / 0.5343 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.1215, allocations: 119.7 kB / 0.5344 GB, free: 8.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1215, allocations: 3.938 kB / 0.5344 GB, free: 8.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1215, allocations: 0 / 0.5344 GB, free: 8.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1215, allocations: 4 kB / 0.5344 GB, free: 8.684 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.0004093/0.1219, allocations: 282 kB / 0.5347 GB, free: 8.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.122, allocations: 15.97 kB / 0.5347 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.122, allocations: 0.9375 kB / 0.5347 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1221, allocations: 102.5 kB / 0.5348 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1221, allocations: 8.359 kB / 0.5348 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-06/0.1221, allocations: 384 / 0.5348 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.1226, allocations: 82.2 kB / 0.5349 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1226, allocations: 4.188 kB / 0.5349 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1226, allocations: 15.92 kB / 0.5349 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1227, allocations: 0 / 0.5349 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003785/0.123, allocations: 51.94 kB / 0.535 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.1232, allocations: 120.8 kB / 0.5351 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.1236, allocations: 82.47 kB / 0.5352 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.044e-05/0.1236, allocations: 8.922 kB / 0.5352 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/0.1238, allocations: 31.95 kB / 0.5352 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1239, allocations: 30.56 kB / 0.5352 GB, free: 7.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1239, allocations: 0 / 0.5352 GB, free: 7.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0008301/0.1247, allocations: 153.5 kB / 0.5354 GB, free: 7.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.1248, allocations: 51.41 kB / 0.5354 GB, free: 7.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.1248, allocations: 97.84 kB / 0.5355 GB, free: 7.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1249, allocations: 29.86 kB / 0.5356 GB, free: 7.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.1249, allocations: 80.14 kB / 0.5356 GB, free: 7.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.1249, allocations: 7.953 kB / 0.5356 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.125, allocations: 13.72 kB / 0.5357 GB, free: 7.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1251, allocations: 310.8 kB / 0.536 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.1252, allocations: 27.97 kB / 0.536 GB, free: 6.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.136e-05/0.1253, allocations: 15.98 kB / 0.536 GB, free: 6.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.1255, allocations: 44.83 kB / 0.536 GB, free: 6.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1255, allocations: 4 kB / 0.536 GB, free: 6.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002336/0.1258, allocations: 73.56 kB / 0.5361 GB, free: 6.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1258, allocations: 4 kB / 0.5361 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1258, allocations: 7.938 kB / 0.5361 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1258, allocations: 3.984 kB / 0.5361 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.1273, allocations: 211.8 kB / 0.5363 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/0.1301, allocations: 1.551 MB / 0.5378 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.523e-05/0.1302, allocations: 12.05 kB / 0.5379 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.1302, allocations: 0 / 0.5379 GB, free: 4.891 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 9.583e-05/0.1303, allocations: 109.8 kB / 0.538 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.1303, allocations: 4 kB / 0.538 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.732e-05/0.1303, allocations: 7.312 kB / 0.538 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.1303, allocations: 0 / 0.538 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1303, allocations: 3.984 kB / 0.538 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1303, allocations: 4 kB / 0.538 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.1304, allocations: 128.6 kB / 0.5381 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.1304, allocations: 3.984 kB / 0.5381 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/0.1319, allocations: 219.8 kB / 0.5383 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.1319, allocations: 3.984 kB / 0.5383 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.1319, allocations: 11.98 kB / 0.5383 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002744/0.1347, allocations: 1.554 MB / 0.5398 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1347, allocations: 0 / 0.5398 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.1349, allocations: 97.14 kB / 0.5399 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-06/0.1349, allocations: 0 / 0.5399 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.135, allocations: 3.938 kB / 0.5399 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.197e-05/0.135, allocations: 12 kB / 0.54 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.135, allocations: 3.984 kB / 0.54 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.135, allocations: 0 / 0.54 GB, free: 2.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.682e-05/0.1351, allocations: 87.25 kB / 0.54 GB, free: 2.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1351, allocations: 0 / 0.54 GB, free: 2.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.1353, allocations: 8 kB / 0.5401 GB, free: 2.457 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.0001202/0.1354, allocations: 95.25 kB / 0.5401 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001725/0.1372, allocations: 263.8 kB / 0.5404 GB, free: 2.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1372, allocations: 3.938 kB / 0.5404 GB, free: 2.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002686/0.1398, allocations: 403.6 kB / 0.5408 GB, free: 1.695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.14, allocations: 8.062 kB / 0.5408 GB, free: 1.688 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.1423, allocations: 445.6 kB / 0.5412 GB, free: 1.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.1426, allocations: 0.6768 MB / 0.5419 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.914e-05/0.1426, allocations: 0 / 0.5419 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.1426, allocations: 7.438 kB / 0.5419 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1426, allocations: 4 kB / 0.5419 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of Templates: time 0.002886/0.1455, allocations: 0.5141 MB / 0.5424 GB, free: 8 kB / 398.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.196341630071402] Failed to read output from testmodel.py, exit status != 0: 0.15330678969621658 0.174050636 0.047831235 Calling exit ...