Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.TIRTest.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.001336/0.001336, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001391/0.001391, allocations: 188 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo): time 0.01481/0.01481, allocations: 3.219 MB / 309.5 MB, free: 5.402 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ExternData.Examples.TIRTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.TIRTest") translateModel(ExternData.Examples.TIRTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.TIRTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 75.88 kB / 431.4 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1385, allocations: 53.19 MB / 484.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.003561/0.1421, allocations: 0.7663 MB / 485.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1436, allocations: 0.8218 MB / 486.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.1437, allocations: 8 kB / 486.2 MB, free: 12.77 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo:301:3-326:14:writable] Warning: Pure function 'ExternData.TIRFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.144, allocations: 27.86 kB / 486.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.1442, allocations: 23.86 kB / 486.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.273e-05/0.1442, allocations: 0 / 486.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.606e-05/0.1443, allocations: 11.98 kB / 486.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.9e-05/0.1443, allocations: 7.984 kB / 486.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.1444, allocations: 11.94 kB / 486.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.1445, allocations: 19.91 kB / 486.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1445, allocations: 0 / 486.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.27e-05/0.1446, allocations: 19.94 kB / 486.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.1446, allocations: 4 kB / 486.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.1447, allocations: 11.94 kB / 486.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.1448, allocations: 31.89 kB / 486.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1448, allocations: 0 / 486.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1448, allocations: 0 / 486.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1448, allocations: 0 / 486.4 MB, free: 12.6 MB / 350.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.0004164/0.1452, allocations: 258.2 kB / 486.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.1453, allocations: 12.03 kB / 486.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.1453, allocations: 4.891 kB / 486.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.1455, allocations: 114.5 kB / 486.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1455, allocations: 4.375 kB / 486.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.1455, allocations: 4.375 kB / 486.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.1456, allocations: 43.92 kB / 486.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1456, allocations: 4.188 kB / 486.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1456, allocations: 3.938 kB / 486.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1456, allocations: 0 / 486.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.027e-05/0.1457, allocations: 7.922 kB / 486.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.1461, allocations: 454.7 kB / 487.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.1462, allocations: 169.1 kB / 487.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.156e-05/0.1463, allocations: 80.14 kB / 487.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.595e-05/0.1463, allocations: 79.27 kB / 487.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.854e-05/0.1464, allocations: 113.8 kB / 487.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.1464, allocations: 0 / 487.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.000101/0.1465, allocations: 33.64 kB / 487.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/0.1466, allocations: 126.7 kB / 487.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.1467, allocations: 117.8 kB / 488 MB, free: 10.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1468, allocations: 25.7 kB / 488 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.1468, allocations: 84.14 kB / 488.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.1468, allocations: 4 kB / 488.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.1468, allocations: 9.719 kB / 488.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.147, allocations: 318.8 kB / 488.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-06/0.147, allocations: 0 / 488.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-06/0.147, allocations: 4 kB / 488.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.68e-05/0.147, allocations: 75.28 kB / 488.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.756e-05/0.1471, allocations: 79.22 kB / 488.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.113e-05/0.1472, allocations: 37.67 kB / 488.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.1472, allocations: 83.28 kB / 488.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.511e-05/0.1473, allocations: 75.28 kB / 488.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.914e-05/0.1474, allocations: 154.5 kB / 488.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.643e-05/0.1474, allocations: 79.28 kB / 489 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-05/0.1475, allocations: 158.7 kB / 489.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.1476, allocations: 83.17 kB / 489.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.1476, allocations: 83.62 kB / 489.3 MB, free: 9.469 MB / 350.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 (0): * Single equations (assignments): 0 * 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.0001609/0.1478, allocations: 268.3 kB / 489.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.169e-05/0.1479, allocations: 104.9 kB / 489.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.343e-05/0.148, allocations: 116.4 kB / 489.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.084e-05/0.148, allocations: 176.3 kB / 490 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001103/0.1482, allocations: 184.2 kB / 490.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.341e-05/0.1483, allocations: 180.3 kB / 490.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.1486, allocations: 384.2 kB / 490.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.376e-05/0.1486, allocations: 105 kB / 490.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.463e-05/0.1487, allocations: 101 kB / 490.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-05/0.1488, allocations: 184.2 kB / 491.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.915e-05/0.1489, allocations: 192.3 kB / 491.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.755e-05/0.149, allocations: 180.2 kB / 491.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.671e-05/0.149, allocations: 176.3 kB / 491.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.1492, allocations: 311.7 kB / 491.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.1493, allocations: 112.9 kB / 492 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.1494, allocations: 188.1 kB / 492.2 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1495, allocations: 101 kB / 492.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.874e-05/0.1496, allocations: 188.2 kB / 492.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.832e-05/0.1497, allocations: 104.9 kB / 492.6 MB, free: 5.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.589e-05/0.1498, allocations: 95.25 kB / 492.7 MB, free: 5.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1498, allocations: 4 kB / 492.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004512/0.1502, allocations: 7.938 kB / 492.7 MB, free: 5.875 MB / 350.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 (0): * Single equations (assignments): 0 * 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.0006293/0.1509, allocations: 230.7 kB / 492.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.165e-05/0.1509, allocations: 3.984 kB / 492.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1509, allocations: 0 / 492.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.354e-06/0.1509, allocations: 7.938 kB / 492.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007182/0.1516, allocations: 467.6 kB / 493.4 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.152, allocations: 164.3 kB / 493.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.1524, allocations: 0.6727 MB / 494.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.42e-05/0.1524, allocations: 8 kB / 494.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.1524, allocations: 15.42 kB / 494.3 MB, free: 4.281 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1524, allocations: 0 / 494.3 MB, free: 4.281 MB / 350.1 MB Notification: Performance of Templates: time 0.004545/0.157, allocations: 0.5411 MB / 494.8 MB, free: 3.746 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.TIRTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.TIRTest.pipe ; mkfifo ExternData_ExternData.Examples.TIRTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.TIRTest.pipe >> ../files/ExternData_ExternData.Examples.TIRTest.sim & ./ExternData_ExternData.Examples.TIRTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.TIRTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.563178536482155] Failed to read output from testmodel.py, exit status != 0: 0.16565336380153894 0.18772902700000002 0.038774622 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f80194297b0>