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.0008114/0.0008114, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005366/0.005366, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1628/0.1628, allocations: 2.951 MB / 294.4 MB, free: 3.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 12 kB / 356.5 MB, free: 3.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1141, allocations: 51.34 MB / 407.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.00128/0.1154, allocations: 481 kB / 408.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1165, allocations: 0.7112 MB / 409 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.098e-05/0.1165, allocations: 0 / 409 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.1167, allocations: 27.92 kB / 409 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.993e-05/0.1168, allocations: 19.92 kB / 409 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.558e-05/0.1169, allocations: 8 kB / 409.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.449e-05/0.1169, allocations: 19.86 kB / 409.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.117, allocations: 4 kB / 409.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.117, allocations: 4 kB / 409.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1171, allocations: 11.92 kB / 409.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.1171, allocations: 0 / 409.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.146e-05/0.1172, allocations: 15.98 kB / 409.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.1172, allocations: 0 / 409.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.1172, allocations: 37.58 kB / 409.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.882e-05/0.1173, allocations: 35.89 kB / 409.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1174, allocations: 4 kB / 409.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1174, allocations: 0 / 409.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1174, allocations: 0 / 409.2 MB, free: 14.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.0003056/0.1177, allocations: 335.7 kB / 409.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1177, allocations: 12.03 kB / 409.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.1178, allocations: 0.9375 kB / 409.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.118, allocations: 176.3 kB / 409.7 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.118, allocations: 384 / 409.7 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.118, allocations: 384 / 409.7 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.735e-05/0.1181, allocations: 43.98 kB / 409.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1181, allocations: 192 / 409.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1181, allocations: 3.938 kB / 409.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1181, allocations: 3.938 kB / 409.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.844e-05/0.1182, allocations: 11.98 kB / 409.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.1186, allocations: 475.7 kB / 410.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.65e-05/0.1187, allocations: 173 kB / 410.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.365e-05/0.1187, allocations: 80.14 kB / 410.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.1188, allocations: 75.28 kB / 410.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.1188, allocations: 113.9 kB / 410.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1188, allocations: 7.938 kB / 410.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.532e-05/0.1189, allocations: 29.7 kB / 410.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.119, allocations: 134.6 kB / 410.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.1191, allocations: 113.8 kB / 410.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1191, allocations: 25.7 kB / 411 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.1191, allocations: 84.14 kB / 411 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.1191, allocations: 0 / 411 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.1192, allocations: 9.719 kB / 411.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1193, allocations: 326.8 kB / 411.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-06/0.1193, allocations: 0 / 411.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.425e-06/0.1193, allocations: 0 / 411.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.583e-05/0.1193, allocations: 75.28 kB / 411.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-05/0.1194, allocations: 79.22 kB / 411.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.49e-05/0.1194, allocations: 33.61 kB / 411.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.1195, allocations: 79.28 kB / 411.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.1195, allocations: 79.22 kB / 411.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.566e-05/0.1196, allocations: 158.6 kB / 411.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.378e-05/0.1196, allocations: 79.22 kB / 411.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-05/0.1196, allocations: 154.5 kB / 412.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.1197, allocations: 79.28 kB / 412.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.1197, allocations: 87.22 kB / 412.3 MB, free: 11.28 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.0001143/0.1199, allocations: 264.3 kB / 412.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.1199, allocations: 105 kB / 412.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.776e-05/0.12, allocations: 108.5 kB / 412.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.918e-05/0.12, allocations: 184.2 kB / 412.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.759e-05/0.1201, allocations: 180.2 kB / 413.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.593e-05/0.1202, allocations: 184.2 kB / 413.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.1204, allocations: 413.2 kB / 413.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.064e-05/0.1204, allocations: 104.9 kB / 413.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.1204, allocations: 109 kB / 413.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.317e-05/0.1205, allocations: 180.2 kB / 414 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-05/0.1206, allocations: 180.3 kB / 414.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.712e-05/0.1206, allocations: 184.3 kB / 414.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.596e-05/0.1207, allocations: 180.6 kB / 414.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.1208, allocations: 315.6 kB / 414.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/0.1209, allocations: 186.1 kB / 415.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.101e-05/0.121, allocations: 184.2 kB / 415.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.1211, allocations: 108.9 kB / 415.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.1211, allocations: 180.3 kB / 415.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.1212, allocations: 104.9 kB / 415.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.577e-05/0.1212, allocations: 99.56 kB / 415.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1212, allocations: 0 / 415.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1215, allocations: 4 kB / 415.7 MB, free: 7.574 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.0003657/0.1219, allocations: 256.1 kB / 416 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 2.99e-05/0.1219, allocations: 0 / 416 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1219, allocations: 0 / 416 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.1219, allocations: 0 / 416 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.1224, allocations: 0.5263 MB / 416.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002302/0.1226, allocations: 182 kB / 416.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1229, allocations: 0.6731 MB / 417.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.302e-05/0.123, allocations: 4 kB / 417.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.123, allocations: 11.42 kB / 417.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.123, allocations: 0 / 417.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of Templates: time 0.002371/0.1254, allocations: 0.5202 MB / 417.9 MB, free: 5.375 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)