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.001491/0.001491, allocations: 103.3 kB / 16.27 MB, free: 6.414 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.00159/0.00159, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01415/0.01415, allocations: 2.958 MB / 294 MB, free: 11.87 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 59.91 kB / 355.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2414, allocations: 50.34 MB / 405.7 MB, free: 32.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.002029/0.2435, allocations: 0.7423 MB / 406.4 MB, free: 31.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007301/0.2442, allocations: 0.7426 MB / 407.2 MB, free: 31.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/0.2443, allocations: 0 / 407.2 MB, free: 31.13 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.0002337/0.2445, allocations: 23.81 kB / 407.2 MB, free: 31.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.2446, allocations: 27.91 kB / 407.2 MB, free: 31.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.183e-05/0.2447, allocations: 0 / 407.2 MB, free: 31.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.284e-05/0.2447, allocations: 19.92 kB / 407.2 MB, free: 31.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.2448, allocations: 0 / 407.2 MB, free: 31.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.04e-05/0.2448, allocations: 11.94 kB / 407.2 MB, free: 31.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.2449, allocations: 11.98 kB / 407.3 MB, free: 31.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.2449, allocations: 4 kB / 407.3 MB, free: 31.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.695e-05/0.245, allocations: 15.98 kB / 407.3 MB, free: 31.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.245, allocations: 3.938 kB / 407.3 MB, free: 31.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.245, allocations: 11.88 kB / 407.3 MB, free: 31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.138e-05/0.2451, allocations: 27.97 kB / 407.3 MB, free: 30.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2451, allocations: 0 / 407.3 MB, free: 30.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2451, allocations: 4 kB / 407.3 MB, free: 30.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.2451, allocations: 0 / 407.3 MB, free: 30.97 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.0002675/0.2454, allocations: 345.4 kB / 407.7 MB, free: 30.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2455, allocations: 11.89 kB / 407.7 MB, free: 30.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.2455, allocations: 0.9375 kB / 407.7 MB, free: 30.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.2456, allocations: 172.3 kB / 407.8 MB, free: 30.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2456, allocations: 4.375 kB / 407.8 MB, free: 30.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.2456, allocations: 4.375 kB / 407.8 MB, free: 30.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.48e-05/0.2457, allocations: 35.98 kB / 407.9 MB, free: 30.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2457, allocations: 4.188 kB / 407.9 MB, free: 30.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.2457, allocations: 7.938 kB / 407.9 MB, free: 30.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2458, allocations: 0 / 407.9 MB, free: 30.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.601e-05/0.2458, allocations: 3.938 kB / 407.9 MB, free: 30.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.246, allocations: 479.6 kB / 408.4 MB, free: 29.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.571e-05/0.2461, allocations: 181 kB / 408.5 MB, free: 29.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.2461, allocations: 84.14 kB / 408.6 MB, free: 29.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.2461, allocations: 75.28 kB / 408.7 MB, free: 29.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.2462, allocations: 105.8 kB / 408.8 MB, free: 29.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.2462, allocations: 0 / 408.8 MB, free: 29.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.276e-05/0.2462, allocations: 33.69 kB / 408.8 MB, free: 29.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.2463, allocations: 130.6 kB / 409 MB, free: 29.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.801e-05/0.2464, allocations: 117.8 kB / 409.1 MB, free: 29.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/0.2464, allocations: 25.7 kB / 409.1 MB, free: 28.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.922e-05/0.2464, allocations: 88.14 kB / 409.2 MB, free: 28.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-06/0.2464, allocations: 0 / 409.2 MB, free: 28.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/0.2464, allocations: 13.66 kB / 409.2 MB, free: 28.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.397e-05/0.2465, allocations: 310.8 kB / 409.5 MB, free: 28.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.548e-06/0.2465, allocations: 0 / 409.5 MB, free: 28.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-06/0.2465, allocations: 3.984 kB / 409.5 MB, free: 28.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.236e-05/0.2465, allocations: 83.28 kB / 409.6 MB, free: 28.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.2465, allocations: 79.22 kB / 409.7 MB, free: 28.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.897e-05/0.2466, allocations: 37.61 kB / 409.7 MB, free: 28.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2466, allocations: 79.28 kB / 409.8 MB, free: 28.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.2466, allocations: 79.22 kB / 409.9 MB, free: 28.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/0.2466, allocations: 150.6 kB / 410 MB, free: 28.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.235e-05/0.2467, allocations: 87.22 kB / 410.1 MB, free: 27.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.2467, allocations: 154.6 kB / 410.2 MB, free: 27.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.076e-05/0.2467, allocations: 79.27 kB / 410.3 MB, free: 27.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.2468, allocations: 83.16 kB / 410.4 MB, free: 27.64 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 5.53e-05/0.2468, allocations: 268.3 kB / 410.7 MB, free: 27.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.2469, allocations: 101 kB / 410.8 MB, free: 27.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.2469, allocations: 116.5 kB / 410.9 MB, free: 27.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/0.2469, allocations: 180.5 kB / 411.1 MB, free: 26.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-05/0.247, allocations: 180.3 kB / 411.2 MB, free: 26.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/0.247, allocations: 188.2 kB / 411.4 MB, free: 26.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.2471, allocations: 409.2 kB / 411.8 MB, free: 26.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.2471, allocations: 112.9 kB / 411.9 MB, free: 26.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/0.2471, allocations: 105 kB / 412 MB, free: 25.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.1e-05/0.2472, allocations: 176.3 kB / 412.2 MB, free: 25.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.2472, allocations: 180.2 kB / 412.4 MB, free: 25.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.051e-05/0.2472, allocations: 180.3 kB / 412.6 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.258e-05/0.2472, allocations: 180.2 kB / 412.7 MB, free: 25.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.962e-05/0.2473, allocations: 315.7 kB / 413 MB, free: 24.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.2474, allocations: 186 kB / 413.2 MB, free: 24.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.2474, allocations: 184.2 kB / 413.4 MB, free: 24.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.443e-05/0.2474, allocations: 104.9 kB / 413.5 MB, free: 24.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.2475, allocations: 180.3 kB / 413.7 MB, free: 24.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.2475, allocations: 108.9 kB / 413.8 MB, free: 24.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.996e-05/0.2476, allocations: 95.56 kB / 413.9 MB, free: 23.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2476, allocations: 0 / 413.9 MB, free: 23.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.2478, allocations: 4 kB / 413.9 MB, free: 23.94 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.0003064/0.2481, allocations: 257.7 kB / 414.1 MB, free: 23.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.164e-05/0.2482, allocations: 0 / 414.1 MB, free: 23.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.2482, allocations: 0 / 414.1 MB, free: 23.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/0.2482, allocations: 8 kB / 414.1 MB, free: 23.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.2486, allocations: 463.6 kB / 414.6 MB, free: 23.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001983/0.2488, allocations: 205.8 kB / 414.8 MB, free: 23.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.604e-05/0.2489, allocations: 0.6729 MB / 415.5 MB, free: 22.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.2489, allocations: 19.42 kB / 415.5 MB, free: 22.3 MB / 302.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2489, allocations: 0 / 415.5 MB, free: 22.3 MB / 302.1 MB Notification: Performance of Templates: time 0.001737/0.2507, allocations: 0.7215 MB / 416.2 MB, free: 21.58 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 -lv LOG_STATS > ExternData_ExternData.Examples.TIRTest.pipe 2>&1)