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.3/package.mo", uses=false) Using package ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/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.0009281/0.0009281, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009264/0.0009264, allocations: 177.3 kB / 15.95 MB, free: 216 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.369/1.369, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3/package.mo): time 0.1672/0.1672, allocations: 2.948 MB / 293.9 MB, free: 3.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003525, allocations: 12 kB / 355.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1261, allocations: 51.35 MB / 407.1 MB, free: 340 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.00126/0.1274, allocations: 469.2 kB / 407.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008323/0.1282, allocations: 0.6954 MB / 408.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.1283, allocations: 3.938 kB / 408.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.1284, allocations: 23.91 kB / 408.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.469e-05/0.1285, allocations: 19.92 kB / 408.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.03e-05/0.1285, allocations: 0 / 408.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.553e-05/0.1286, allocations: 11.98 kB / 408.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.1287, allocations: 7.984 kB / 408.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.979e-05/0.1287, allocations: 0 / 408.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1288, allocations: 15.94 kB / 408.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.1288, allocations: 7.938 kB / 408.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.329e-05/0.1289, allocations: 4 kB / 408.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.1289, allocations: 3.984 kB / 408.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.1289, allocations: 33.64 kB / 408.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.952e-05/0.129, allocations: 23.97 kB / 408.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.129, allocations: 0 / 408.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.129, allocations: 0 / 408.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.129, allocations: 0 / 408.4 MB, free: 15.02 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.0002827/0.1293, allocations: 335.5 kB / 408.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1294, allocations: 12.03 kB / 408.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.1294, allocations: 0 / 408.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1295, allocations: 175 kB / 408.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1296, allocations: 0 / 408.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.1296, allocations: 0 / 408.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.573e-05/0.1297, allocations: 39.42 kB / 409 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1297, allocations: 0 / 409 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.1297, allocations: 0 / 409 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.1297, allocations: 8 kB / 409 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.1297, allocations: 7.922 kB / 409 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.1301, allocations: 487.5 kB / 409.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.524e-05/0.1302, allocations: 173.1 kB / 409.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.1302, allocations: 83.28 kB / 409.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.1302, allocations: 105.8 kB / 409.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.785e-06/0.1302, allocations: 0 / 409.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 5.89e-05/0.1303, allocations: 29.64 kB / 409.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.1304, allocations: 126.7 kB / 410 MB, free: 13.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.1305, allocations: 117.8 kB / 410.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1305, allocations: 29.64 kB / 410.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.1305, allocations: 88.14 kB / 410.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.472e-06/0.1306, allocations: 0 / 410.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-07/0.1306, allocations: 0 / 410.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1307, allocations: 322.8 kB / 410.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-06/0.1307, allocations: 0 / 410.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-06/0.1307, allocations: 0 / 410.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.135e-05/0.1307, allocations: 75.28 kB / 410.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-05/0.1307, allocations: 75.28 kB / 410.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.174e-05/0.1308, allocations: 37.64 kB / 410.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.1308, allocations: 83.28 kB / 410.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.259e-05/0.1309, allocations: 87.22 kB / 410.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.007e-05/0.1309, allocations: 154.6 kB / 411 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.118e-05/0.131, allocations: 79.27 kB / 411.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.881e-05/0.131, allocations: 154.5 kB / 411.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.1311, allocations: 75.28 kB / 411.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.1311, allocations: 87.22 kB / 411.4 MB, free: 11.8 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.0001092/0.1313, allocations: 266.8 kB / 411.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/0.1313, allocations: 105 kB / 411.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/0.1314, allocations: 112.4 kB / 411.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.323e-05/0.1315, allocations: 176.3 kB / 412 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-05/0.1315, allocations: 184.3 kB / 412.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.314e-05/0.1316, allocations: 184.2 kB / 412.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.1318, allocations: 409.2 kB / 412.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.752e-05/0.1319, allocations: 108.9 kB / 412.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.1319, allocations: 101 kB / 413 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.574e-05/0.132, allocations: 180.3 kB / 413.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/0.132, allocations: 188.2 kB / 413.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-05/0.1321, allocations: 176.3 kB / 413.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.466e-05/0.1322, allocations: 180.2 kB / 413.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.1323, allocations: 308.1 kB / 414 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.1324, allocations: 206 kB / 414.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.014e-05/0.1325, allocations: 176.3 kB / 414.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.1326, allocations: 108.9 kB / 414.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.1326, allocations: 184.2 kB / 414.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.1327, allocations: 101 kB / 414.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.32e-05/0.1327, allocations: 91.27 kB / 414.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.914e-06/0.1327, allocations: 4 kB / 414.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.133, allocations: 7.938 kB / 414.9 MB, free: 8.098 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.0003662/0.1334, allocations: 257.4 kB / 415.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 2.999e-05/0.1334, allocations: 0 / 415.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1334, allocations: 0 / 415.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.1334, allocations: 0 / 415.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.1338, allocations: 0.5224 MB / 415.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.1341, allocations: 174.2 kB / 415.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.1343, allocations: 0.677 MB / 416.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.6e-05/0.1343, allocations: 4 kB / 416.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.1344, allocations: 11.38 kB / 416.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1344, allocations: 0 / 416.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of Templates: time 0.002652/0.137, allocations: 0.5151 MB / 417 MB, free: 5.906 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.TIRTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: