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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.TIRTest") translateModel(ExternData.Examples.TIRTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.TIRTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001082, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.2249/0.2249, allocations: 2.944 MB / 294 MB, free: 3.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 8 kB / 355.9 MB, free: 3.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1292, allocations: 51.34 MB / 407.2 MB, free: 320 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001526/0.1308, allocations: 473.2 kB / 407.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1322, allocations: 0.6954 MB / 408.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.1323, allocations: 0 / 408.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.1326, allocations: 23.92 kB / 408.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.1327, allocations: 23.92 kB / 408.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.533e-05/0.1328, allocations: 0 / 408.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.342e-05/0.1328, allocations: 15.94 kB / 408.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.474e-05/0.1329, allocations: 3.984 kB / 408.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.007e-05/0.1329, allocations: 11.92 kB / 408.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.1331, allocations: 4 kB / 408.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1331, allocations: 0 / 408.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.268e-05/0.1332, allocations: 12 kB / 408.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.1332, allocations: 3.938 kB / 408.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.1332, allocations: 37.69 kB / 408.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.1334, allocations: 23.97 kB / 408.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.1334, allocations: 0 / 408.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1334, allocations: 0 / 408.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.1334, allocations: 0 / 408.5 MB, free: 14.99 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.0004163/0.1338, allocations: 327.5 kB / 408.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.1339, allocations: 16.02 kB / 408.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.1339, allocations: 0 / 408.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.1341, allocations: 167 kB / 409 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1342, allocations: 7.953 kB / 409 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.1342, allocations: 4 kB / 409 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.1343, allocations: 51.28 kB / 409.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1343, allocations: 3.984 kB / 409.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1343, allocations: 0 / 409.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1344, allocations: 0 / 409.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.524e-05/0.1344, allocations: 4 kB / 409.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005895/0.135, allocations: 487.5 kB / 409.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1351, allocations: 169.1 kB / 409.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.1352, allocations: 88.14 kB / 409.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.1352, allocations: 75.28 kB / 409.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/0.1353, allocations: 109.8 kB / 410 MB, free: 13.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/0.1353, allocations: 0 / 410 MB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001041/0.1354, allocations: 29.64 kB / 410 MB, free: 13.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.667e-05/0.1355, allocations: 130.7 kB / 410.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.1357, allocations: 113.8 kB / 410.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.1357, allocations: 25.7 kB / 410.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.1358, allocations: 92.12 kB / 410.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.1358, allocations: 4 kB / 410.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.1358, allocations: 0 / 410.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.136, allocations: 318.8 kB / 410.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-06/0.136, allocations: 0 / 410.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.908e-06/0.136, allocations: 0 / 410.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.738e-05/0.136, allocations: 75.28 kB / 410.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.221e-05/0.1361, allocations: 75.28 kB / 410.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.268e-05/0.1362, allocations: 37.55 kB / 410.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.835e-05/0.1362, allocations: 79.28 kB / 411 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.762e-05/0.1363, allocations: 87.27 kB / 411 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.822e-05/0.1363, allocations: 158.5 kB / 411.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.473e-05/0.1364, allocations: 75.28 kB / 411.3 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.418e-05/0.1365, allocations: 150.6 kB / 411.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.1366, allocations: 79.22 kB / 411.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.1366, allocations: 79.28 kB / 411.6 MB, free: 11.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.1368, allocations: 268.4 kB / 411.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.035e-05/0.1369, allocations: 112.9 kB / 411.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.073e-05/0.137, allocations: 104.5 kB / 412.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001019/0.1371, allocations: 176.3 kB / 412.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.991e-05/0.1372, allocations: 184.2 kB / 412.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.014e-05/0.1373, allocations: 188.2 kB / 412.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.1376, allocations: 417.1 kB / 413 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.288e-05/0.1377, allocations: 101 kB / 413.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.1377, allocations: 104.9 kB / 413.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.63e-05/0.1378, allocations: 188.2 kB / 413.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.423e-05/0.1379, allocations: 180.3 kB / 413.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.162e-05/0.138, allocations: 184.2 kB / 413.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.625e-05/0.1381, allocations: 176.3 kB / 413.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.1383, allocations: 308.1 kB / 414.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.1384, allocations: 198 kB / 414.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.213e-05/0.1385, allocations: 184.2 kB / 414.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.872e-05/0.1386, allocations: 101 kB / 414.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/0.1387, allocations: 184.2 kB / 414.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.1388, allocations: 105 kB / 415 MB, free: 8.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.07e-05/0.1388, allocations: 87.28 kB / 415 MB, free: 8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1388, allocations: 0 / 415 MB, free: 8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003292/0.1392, allocations: 8 kB / 415.1 MB, free: 7.992 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006355/0.1398, allocations: 260.8 kB / 415.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.159e-05/0.1399, allocations: 0 / 415.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1399, allocations: 0 / 415.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.1399, allocations: 7.938 kB / 415.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008109/0.1407, allocations: 0.5174 MB / 415.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.1411, allocations: 182.2 kB / 416 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.1414, allocations: 0.677 MB / 416.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.397e-05/0.1414, allocations: 0 / 416.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.1415, allocations: 11.44 kB / 416.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1415, allocations: 0 / 416.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of Templates: time 0.003113/0.1446, allocations: 0.5139 MB / 417.2 MB, free: 5.797 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.TIRTest.makefile (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)