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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 218.7 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.02094/0.02094, allocations: 3.268 MB / 316.5 MB, free: 15.84 MB / 254.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.91 kB / 440.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1265, allocations: 54.38 MB / 495.2 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.002903/0.1294, allocations: 0.7561 MB / 496 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.1309, allocations: 0.8296 MB / 496.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.1309, allocations: 0 / 496.8 MB, free: 3.738 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.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.0003247/0.1313, allocations: 27.84 kB / 496.8 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.1314, allocations: 27.84 kB / 496.8 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.825e-05/0.1315, allocations: 4 kB / 496.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.316e-05/0.1315, allocations: 12 kB / 496.9 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.1316, allocations: 3.984 kB / 496.9 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.052e-05/0.1316, allocations: 7.938 kB / 496.9 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.1318, allocations: 11.94 kB / 496.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1318, allocations: 0 / 496.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.1319, allocations: 19.98 kB / 496.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.1319, allocations: 15.92 kB / 496.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.1319, allocations: 3.938 kB / 496.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.1321, allocations: 31.91 kB / 496.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1321, allocations: 0 / 496.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1321, allocations: 0 / 496.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.1321, allocations: 4 kB / 497 MB, free: 3.57 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.000473/0.1326, allocations: 262.2 kB / 497.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.1326, allocations: 8.031 kB / 497.2 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.1327, allocations: 0.9375 kB / 497.2 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.1328, allocations: 118.4 kB / 497.3 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1329, allocations: 4.375 kB / 497.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.1329, allocations: 384 / 497.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.133, allocations: 51.91 kB / 497.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.133, allocations: 192 / 497.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.133, allocations: 3.938 kB / 497.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.133, allocations: 0 / 497.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.1331, allocations: 4 kB / 497.4 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.1336, allocations: 454.7 kB / 497.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.1337, allocations: 173.1 kB / 498 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.1337, allocations: 80.14 kB / 498.1 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.1338, allocations: 75.28 kB / 498.2 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.777e-05/0.1338, allocations: 117.8 kB / 498.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.1338, allocations: 0 / 498.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.534e-05/0.1339, allocations: 25.7 kB / 498.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.345e-05/0.134, allocations: 126.7 kB / 498.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1342, allocations: 121.8 kB / 498.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1342, allocations: 25.7 kB / 498.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.1342, allocations: 96.06 kB / 498.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.1342, allocations: 0 / 498.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.1343, allocations: 9.719 kB / 498.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1344, allocations: 314.8 kB / 499 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-06/0.1344, allocations: 32 / 499 MB, free: 1.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-06/0.1344, allocations: 4 kB / 499 MB, free: 1.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.1345, allocations: 75.28 kB / 499.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.004e-05/0.1345, allocations: 83.16 kB / 499.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.089e-05/0.1346, allocations: 29.7 kB / 499.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.1346, allocations: 83.28 kB / 499.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.61e-05/0.1347, allocations: 83.27 kB / 499.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-05/0.1348, allocations: 158.5 kB / 499.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.416e-05/0.1348, allocations: 75.28 kB / 499.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.992e-05/0.1349, allocations: 158.6 kB / 499.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.075e-05/0.135, allocations: 79.3 kB / 499.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.135, allocations: 83.28 kB / 499.9 MB, free: 452 kB / 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.0001545/0.1352, allocations: 264.3 kB / 0.4884 GB, free: 176 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-05/0.1353, allocations: 112.9 kB / 0.4885 GB, free: 56 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.667e-05/0.1353, allocations: 104.5 kB / 0.4886 GB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.7e-05/0.1354, allocations: 180.2 kB / 0.4888 GB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.167e-05/0.1355, allocations: 184.3 kB / 0.489 GB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.489e-05/0.1356, allocations: 180.3 kB / 0.4891 GB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.1359, allocations: 388.2 kB / 0.4895 GB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.654e-05/0.1359, allocations: 101 kB / 0.4896 GB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.238e-05/0.136, allocations: 104.9 kB / 0.4897 GB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.1361, allocations: 188.2 kB / 0.4899 GB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-05/0.1362, allocations: 180.3 kB / 0.4901 GB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.713e-05/0.1363, allocations: 184.2 kB / 0.4902 GB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-05/0.1364, allocations: 176.3 kB / 0.4904 GB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.1365, allocations: 315.7 kB / 0.4907 GB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.1366, allocations: 113 kB / 0.4908 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.656e-05/0.1367, allocations: 180.2 kB / 0.491 GB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.715e-05/0.1368, allocations: 105 kB / 0.4911 GB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.932e-05/0.1369, allocations: 180.2 kB / 0.4913 GB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.1369, allocations: 105 kB / 0.4914 GB, free: 12.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.826e-05/0.137, allocations: 87.28 kB / 0.4914 GB, free: 12.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.137, allocations: 4 kB / 0.4914 GB, free: 12.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.1373, allocations: 4 kB / 0.4914 GB, free: 12.87 MB / 366.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.0005505/0.1379, allocations: 259.6 kB / 0.4917 GB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.713e-05/0.1379, allocations: 7.938 kB / 0.4917 GB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1379, allocations: 0 / 0.4917 GB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.1379, allocations: 0 / 0.4917 GB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/0.1385, allocations: 466.8 kB / 0.4921 GB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.1389, allocations: 194 kB / 0.4923 GB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.1392, allocations: 0.6768 MB / 0.493 GB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.1393, allocations: 11.38 kB / 0.493 GB, free: 11.23 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1393, allocations: 0 / 0.493 GB, free: 11.23 MB / 366.1 MB Notification: Performance of Templates: time 0.002928/0.1422, allocations: 0.7222 MB / 0.4937 GB, free: 10.52 MB / 366.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: 7.093221846967936] Failed to read output from testmodel.py, exit status != 0: 0.15141275012865663 0.42229351200000004 0.285346278 Calling exit ...