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-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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.001475/0.001475, allocations: 103.5 kB / 16.35 MB, free: 5.824 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.001572/0.001572, allocations: 192.2 kB / 17.29 MB, free: 5.48 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01413/0.01413, allocations: 2.949 MB / 294.1 MB, free: 11.81 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 356.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2275, allocations: 50.34 MB / 406.4 MB, free: 32.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001936/0.2295, allocations: 0.7411 MB / 407.2 MB, free: 31.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006778/0.2302, allocations: 0.7348 MB / 407.9 MB, free: 31.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.264e-05/0.2302, allocations: 3.938 kB / 407.9 MB, free: 31.05 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo:313:3-338:14:writable] Warning: Pure function 'ExternData.TIRFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.2305, allocations: 27.84 kB / 407.9 MB, free: 31.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.689e-05/0.2306, allocations: 31.84 kB / 408 MB, free: 30.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.112e-05/0.2306, allocations: 0 / 408 MB, free: 30.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.938e-05/0.2307, allocations: 12 kB / 408 MB, free: 30.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.2307, allocations: 3.984 kB / 408 MB, free: 30.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.721e-05/0.2307, allocations: 11.91 kB / 408 MB, free: 30.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.2308, allocations: 11.98 kB / 408 MB, free: 30.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.2308, allocations: 4 kB / 408 MB, free: 30.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.714e-05/0.2309, allocations: 15.94 kB / 408 MB, free: 30.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.2309, allocations: 7.922 kB / 408 MB, free: 30.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.2309, allocations: 7.938 kB / 408.1 MB, free: 30.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.576e-05/0.231, allocations: 31.97 kB / 408.1 MB, free: 30.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2311, allocations: 0 / 408.1 MB, free: 30.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2311, allocations: 0 / 408.1 MB, free: 30.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.2311, allocations: 0 / 408.1 MB, free: 30.89 MB / 302.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.0002629/0.2313, allocations: 347.2 kB / 408.4 MB, free: 30.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.2314, allocations: 11.89 kB / 408.4 MB, free: 30.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.2314, allocations: 4.938 kB / 408.4 MB, free: 30.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.728e-05/0.2315, allocations: 168.4 kB / 408.6 MB, free: 30.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.2315, allocations: 8.375 kB / 408.6 MB, free: 30.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.2316, allocations: 384 / 408.6 MB, free: 30.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.938e-05/0.2316, allocations: 43.92 kB / 408.7 MB, free: 30.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.2316, allocations: 8.172 kB / 408.7 MB, free: 30.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.2317, allocations: 3.938 kB / 408.7 MB, free: 30.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2317, allocations: 0 / 408.7 MB, free: 30.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.547e-05/0.2317, allocations: 4 kB / 408.7 MB, free: 30.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.2319, allocations: 483.5 kB / 409.1 MB, free: 29.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.461e-05/0.232, allocations: 177.1 kB / 409.3 MB, free: 29.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.232, allocations: 80.14 kB / 409.4 MB, free: 29.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.232, allocations: 75.28 kB / 409.5 MB, free: 29.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.232, allocations: 105.8 kB / 409.6 MB, free: 29.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.232, allocations: 0 / 409.6 MB, free: 29.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.065e-05/0.2321, allocations: 33.64 kB / 409.6 MB, free: 29.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.2321, allocations: 134.7 kB / 409.7 MB, free: 29.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.2322, allocations: 117.8 kB / 409.9 MB, free: 28.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.282e-06/0.2322, allocations: 29.7 kB / 409.9 MB, free: 28.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.904e-05/0.2323, allocations: 84.14 kB / 410 MB, free: 28.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.2323, allocations: 3.938 kB / 410 MB, free: 28.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.2323, allocations: 9.719 kB / 410 MB, free: 28.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.675e-05/0.2323, allocations: 314.8 kB / 410.3 MB, free: 28.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-06/0.2324, allocations: 0 / 410.3 MB, free: 28.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.735e-06/0.2324, allocations: 4 kB / 410.3 MB, free: 28.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.223e-05/0.2324, allocations: 75.28 kB / 410.4 MB, free: 28.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.2324, allocations: 79.22 kB / 410.4 MB, free: 28.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.053e-05/0.2324, allocations: 45.53 kB / 410.5 MB, free: 28.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.2325, allocations: 79.28 kB / 410.6 MB, free: 28.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.2325, allocations: 75.28 kB / 410.6 MB, free: 28.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/0.2325, allocations: 158.5 kB / 410.8 MB, free: 27.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.381e-05/0.2325, allocations: 79.28 kB / 410.9 MB, free: 27.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.2326, allocations: 154.5 kB / 411 MB, free: 27.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.487e-05/0.2326, allocations: 79.22 kB / 411.1 MB, free: 27.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.2326, allocations: 83.27 kB / 411.2 MB, free: 27.55 MB / 302.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 6.034e-05/0.2327, allocations: 266.2 kB / 411.4 MB, free: 27.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.2328, allocations: 108.9 kB / 411.5 MB, free: 27.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.2328, allocations: 108.5 kB / 411.6 MB, free: 27.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/0.2328, allocations: 176.5 kB / 411.8 MB, free: 26.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.677e-05/0.2328, allocations: 188.2 kB / 412 MB, free: 26.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.507e-05/0.2329, allocations: 188.3 kB / 412.2 MB, free: 26.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.233, allocations: 413.1 kB / 412.6 MB, free: 26.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.233, allocations: 105 kB / 412.7 MB, free: 25.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.239e-05/0.233, allocations: 101 kB / 412.8 MB, free: 25.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.098e-05/0.2331, allocations: 184.2 kB / 413 MB, free: 25.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.2331, allocations: 180.3 kB / 413.1 MB, free: 25.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.176e-05/0.2331, allocations: 184.2 kB / 413.3 MB, free: 25.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.438e-05/0.2331, allocations: 180.3 kB / 413.5 MB, free: 25.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.302e-05/0.2332, allocations: 311.7 kB / 413.8 MB, free: 24.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.2332, allocations: 190 kB / 414 MB, free: 24.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.2333, allocations: 180.2 kB / 414.2 MB, free: 24.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.417e-05/0.2333, allocations: 105 kB / 414.3 MB, free: 24.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.2334, allocations: 188.2 kB / 414.5 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.2334, allocations: 101 kB / 414.6 MB, free: 23.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.707e-05/0.2334, allocations: 91.27 kB / 414.6 MB, free: 23.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2334, allocations: 0 / 414.6 MB, free: 23.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.2337, allocations: 8 kB / 414.7 MB, free: 23.85 MB / 302.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.0003112/0.234, allocations: 245.1 kB / 414.9 MB, free: 23.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.955e-05/0.2341, allocations: 0 / 414.9 MB, free: 23.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2341, allocations: 8 kB / 414.9 MB, free: 23.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.2341, allocations: 7.938 kB / 414.9 MB, free: 23.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.2344, allocations: 466.4 kB / 415.4 MB, free: 23.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.2346, allocations: 172.2 kB / 415.5 MB, free: 22.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.2348, allocations: 0.6768 MB / 416.2 MB, free: 22.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.794e-05/0.2348, allocations: 7.938 kB / 416.2 MB, free: 22.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.2348, allocations: 15.42 kB / 416.2 MB, free: 22.24 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2348, allocations: 0 / 416.2 MB, free: 22.24 MB / 302.1 MB Notification: Performance of Templates: time 0.002653/0.2375, allocations: 0.5354 MB / 416.8 MB, free: 21.71 MB / 302.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 -s gbode -lv LOG_STATS > ExternData_ExternData.Examples.TIRTest.pipe 2>&1)