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.01055/0.01055, allocations: 103.9 kB / 15.73 MB, free: 5.992 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.002182/0.002182, allocations: 187 kB / 16.67 MB, free: 5.93 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.652/1.652, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1901/0.1901, allocations: 2.925 MB / 293.5 MB, free: 3.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 63.89 kB / 406.3 MB, free: 180 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4738/0.4763, allocations: 50.34 MB / 456.6 MB, free: 28.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.002149/0.4785, allocations: 0.749 MB / 457.3 MB, free: 27.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008574/0.4793, allocations: 0.7358 MB / 458.1 MB, free: 27.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.4794, allocations: 0 / 458.1 MB, free: 27.27 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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.0002668/0.4797, allocations: 24.67 kB / 458.1 MB, free: 27.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.4798, allocations: 32.38 kB / 458.1 MB, free: 27.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.031e-05/0.4798, allocations: 0 / 458.1 MB, free: 27.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.986e-05/0.4799, allocations: 17.55 kB / 458.1 MB, free: 27.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.996e-05/0.4799, allocations: 6.781 kB / 458.2 MB, free: 27.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.48, allocations: 10.78 kB / 458.2 MB, free: 27.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.4801, allocations: 10.34 kB / 458.2 MB, free: 27.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.4801, allocations: 2.969 kB / 458.2 MB, free: 27.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.011e-05/0.4802, allocations: 13.19 kB / 458.2 MB, free: 27.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.4802, allocations: 3.984 kB / 458.2 MB, free: 27.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.4802, allocations: 11.38 kB / 458.2 MB, free: 27.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.4803, allocations: 31.92 kB / 458.2 MB, free: 27.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4804, allocations: 7.312 kB / 458.2 MB, free: 27.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4804, allocations: 0 / 458.2 MB, free: 27.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.4804, allocations: 0 / 458.2 MB, free: 27.18 MB / 366.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.0003354/0.4807, allocations: 336 kB / 458.6 MB, free: 26.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4808, allocations: 15.98 kB / 458.6 MB, free: 26.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.4808, allocations: 0.9375 kB / 458.6 MB, free: 26.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.481, allocations: 178.8 kB / 458.8 MB, free: 26.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.481, allocations: 4.312 kB / 458.8 MB, free: 26.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.481, allocations: 4.375 kB / 458.8 MB, free: 26.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.4811, allocations: 42.3 kB / 458.8 MB, free: 26.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.4811, allocations: 192 / 458.8 MB, free: 26.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.4811, allocations: 3.938 kB / 458.8 MB, free: 26.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4812, allocations: 0 / 458.8 MB, free: 26.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.959e-05/0.4812, allocations: 11.38 kB / 458.8 MB, free: 26.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.4815, allocations: 476.3 kB / 459.3 MB, free: 26.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.191e-05/0.4815, allocations: 180.6 kB / 459.5 MB, free: 25.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/0.4816, allocations: 80.14 kB / 459.5 MB, free: 25.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.4816, allocations: 75.28 kB / 459.6 MB, free: 25.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.4816, allocations: 109.8 kB / 459.7 MB, free: 25.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.4816, allocations: 0 / 459.7 MB, free: 25.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.643e-05/0.4817, allocations: 29.02 kB / 459.8 MB, free: 25.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.4818, allocations: 126.7 kB / 459.9 MB, free: 25.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.4819, allocations: 120.9 kB / 460 MB, free: 25.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.4819, allocations: 25.7 kB / 460 MB, free: 25.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.469e-05/0.4819, allocations: 91.11 kB / 460.1 MB, free: 25.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.4819, allocations: 0 / 460.1 MB, free: 25.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.4819, allocations: 13.72 kB / 460.1 MB, free: 25.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.551e-05/0.482, allocations: 313.8 kB / 460.4 MB, free: 24.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-06/0.482, allocations: 4 kB / 460.4 MB, free: 24.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-06/0.482, allocations: 0 / 460.4 MB, free: 24.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.348e-05/0.482, allocations: 78.56 kB / 460.5 MB, free: 24.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.482, allocations: 83.22 kB / 460.6 MB, free: 24.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.132e-05/0.4821, allocations: 32.48 kB / 460.6 MB, free: 24.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.4821, allocations: 81.03 kB / 460.7 MB, free: 24.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.4821, allocations: 86.12 kB / 460.8 MB, free: 24.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.701e-05/0.4822, allocations: 150.6 kB / 460.9 MB, free: 24.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-05/0.4822, allocations: 79.22 kB / 461 MB, free: 24.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.447e-05/0.4822, allocations: 157 kB / 461.2 MB, free: 24.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.4823, allocations: 77.25 kB / 461.2 MB, free: 24.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.4823, allocations: 83.22 kB / 461.3 MB, free: 23.96 MB / 366.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 7.003e-05/0.4824, allocations: 268.7 kB / 461.6 MB, free: 23.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.4824, allocations: 104.6 kB / 461.7 MB, free: 23.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.4825, allocations: 112 kB / 461.8 MB, free: 23.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.324e-05/0.4825, allocations: 188.3 kB / 462 MB, free: 23.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.375e-05/0.4826, allocations: 179.8 kB / 462.2 MB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.072e-05/0.4826, allocations: 184.2 kB / 462.3 MB, free: 22.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.4828, allocations: 411.3 kB / 462.7 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/0.4828, allocations: 104.9 kB / 462.8 MB, free: 22.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-05/0.4828, allocations: 104 kB / 462.9 MB, free: 22.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.669e-05/0.4828, allocations: 180.2 kB / 463.1 MB, free: 22.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.4829, allocations: 183.7 kB / 463.3 MB, free: 21.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-05/0.4829, allocations: 187.7 kB / 463.5 MB, free: 21.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.561e-05/0.4829, allocations: 184.2 kB / 463.7 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.174e-05/0.483, allocations: 309.5 kB / 464 MB, free: 21.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.4831, allocations: 186 kB / 464.1 MB, free: 20.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.4831, allocations: 180.3 kB / 464.3 MB, free: 20.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.344e-05/0.4832, allocations: 111.3 kB / 464.4 MB, free: 20.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.4832, allocations: 176.3 kB / 464.6 MB, free: 20.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.4833, allocations: 105 kB / 464.7 MB, free: 20.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.517e-05/0.4833, allocations: 100.4 kB / 464.8 MB, free: 20.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4833, allocations: 3.938 kB / 464.8 MB, free: 20.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000272/0.4836, allocations: 3.125 kB / 464.8 MB, free: 20.31 MB / 366.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.0004156/0.484, allocations: 250.1 kB / 465.1 MB, free: 20.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.174e-05/0.4841, allocations: 0 / 465.1 MB, free: 20.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4841, allocations: 0 / 465.1 MB, free: 20.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.4841, allocations: 0 / 465.1 MB, free: 20.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.4845, allocations: 465.1 kB / 465.5 MB, free: 19.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002193/0.4847, allocations: 171.2 kB / 465.7 MB, free: 19.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.4848, allocations: 0.6856 MB / 466.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.663e-05/0.4848, allocations: 0 / 466.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.4849, allocations: 10.44 kB / 466.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4849, allocations: 0 / 466.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of Templates: time 0.002583/0.4875, allocations: 0.5456 MB / 466.9 MB, free: 18.68 MB / 366.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)