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.006922/0.006922, allocations: 94.64 kB / 15.73 MB, free: 6.039 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.001536/0.001536, allocations: 202 kB / 16.68 MB, free: 5.969 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.2315/0.2315, allocations: 2.928 MB / 293.5 MB, free: 3.184 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 55.91 kB / 406.3 MB, free: 164 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3692, allocations: 50.33 MB / 456.6 MB, free: 28.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.002163/0.3714, allocations: 0.7536 MB / 457.3 MB, free: 27.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000852/0.3723, allocations: 0.7362 MB / 458.1 MB, free: 27.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.3723, allocations: 0 / 458.1 MB, free: 27.26 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.000271/0.3726, allocations: 29.55 kB / 458.1 MB, free: 27.24 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.3727, allocations: 17.17 kB / 458.1 MB, free: 27.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.295e-05/0.3728, allocations: 0 / 458.1 MB, free: 27.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.306e-05/0.3728, allocations: 25.03 kB / 458.1 MB, free: 27.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.3729, allocations: 7.062 kB / 458.2 MB, free: 27.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.257e-05/0.3729, allocations: 7.094 kB / 458.2 MB, free: 27.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.3731, allocations: 17.41 kB / 458.2 MB, free: 27.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.3731, allocations: 0 / 458.2 MB, free: 27.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.146e-05/0.3731, allocations: 17.09 kB / 458.2 MB, free: 27.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.3731, allocations: 3.984 kB / 458.2 MB, free: 27.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.3732, allocations: 18.88 kB / 458.2 MB, free: 27.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.3733, allocations: 31.25 kB / 458.2 MB, free: 27.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3733, allocations: 0 / 458.2 MB, free: 27.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3733, allocations: 4 kB / 458.3 MB, free: 27.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.3733, allocations: 0 / 458.3 MB, free: 27.16 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.0003203/0.3737, allocations: 336.9 kB / 458.6 MB, free: 26.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3737, allocations: 13.14 kB / 458.6 MB, free: 26.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.3737, allocations: 0.9375 kB / 458.6 MB, free: 26.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3739, allocations: 182.9 kB / 458.8 MB, free: 26.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3739, allocations: 384 / 458.8 MB, free: 26.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.3739, allocations: 3.75 kB / 458.8 MB, free: 26.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.533e-05/0.374, allocations: 43.14 kB / 458.8 MB, free: 26.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.374, allocations: 192 / 458.8 MB, free: 26.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.374, allocations: 3.938 kB / 458.8 MB, free: 26.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.374, allocations: 3.938 kB / 458.8 MB, free: 26.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2e-05/0.374, allocations: 10.33 kB / 458.8 MB, free: 26.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.3743, allocations: 471.6 kB / 459.3 MB, free: 26.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.729e-05/0.3744, allocations: 177 kB / 459.5 MB, free: 25.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.3744, allocations: 80.14 kB / 459.5 MB, free: 25.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.3744, allocations: 75.28 kB / 459.6 MB, free: 25.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.3744, allocations: 112.9 kB / 459.7 MB, free: 25.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.3744, allocations: 0 / 459.7 MB, free: 25.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.118e-05/0.3745, allocations: 33.66 kB / 459.8 MB, free: 25.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.3746, allocations: 137.4 kB / 459.9 MB, free: 25.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.15e-05/0.3746, allocations: 117.7 kB / 460 MB, free: 25.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.71e-06/0.3747, allocations: 29.64 kB / 460 MB, free: 25.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.241e-05/0.3747, allocations: 84.14 kB / 460.1 MB, free: 25.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.3747, allocations: 0 / 460.1 MB, free: 25.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/0.3747, allocations: 12.91 kB / 460.1 MB, free: 25.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.3748, allocations: 318.2 kB / 460.4 MB, free: 24.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-06/0.3748, allocations: 0 / 460.4 MB, free: 24.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-06/0.3748, allocations: 0 / 460.4 MB, free: 24.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.436e-05/0.3748, allocations: 75.28 kB / 460.5 MB, free: 24.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.3748, allocations: 86.34 kB / 460.6 MB, free: 24.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.705e-05/0.3749, allocations: 28.8 kB / 460.6 MB, free: 24.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.3749, allocations: 78.44 kB / 460.7 MB, free: 24.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.3749, allocations: 82.28 kB / 460.8 MB, free: 24.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/0.375, allocations: 154.6 kB / 460.9 MB, free: 24.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.25e-05/0.375, allocations: 82.64 kB / 461 MB, free: 24.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/0.375, allocations: 153.5 kB / 461.2 MB, free: 24.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.3751, allocations: 75.28 kB / 461.2 MB, free: 24.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.3751, allocations: 79.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 6.226e-05/0.3752, allocations: 277 kB / 461.6 MB, free: 23.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.3752, allocations: 104.5 kB / 461.7 MB, free: 23.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.3752, allocations: 111.7 kB / 461.8 MB, free: 23.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/0.3753, allocations: 184.3 kB / 462 MB, free: 23.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.957e-05/0.3753, allocations: 187 kB / 462.2 MB, free: 23.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.493e-05/0.3753, allocations: 180.2 kB / 462.3 MB, free: 22.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.3755, allocations: 414.9 kB / 462.8 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.3755, allocations: 107.7 kB / 462.9 MB, free: 22.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.412e-05/0.3755, allocations: 101 kB / 463 MB, free: 22.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.77e-05/0.3755, allocations: 183.5 kB / 463.1 MB, free: 22.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.3756, allocations: 179.4 kB / 463.3 MB, free: 21.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.431e-05/0.3756, allocations: 176.3 kB / 463.5 MB, free: 21.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.526e-05/0.3756, allocations: 188.2 kB / 463.7 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.669e-05/0.3757, allocations: 313.2 kB / 464 MB, free: 21.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.3758, allocations: 182.1 kB / 464.1 MB, free: 20.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.3758, allocations: 182.8 kB / 464.3 MB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.109e-05/0.3759, allocations: 108.9 kB / 464.4 MB, free: 20.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.3759, allocations: 176.3 kB / 464.6 MB, free: 20.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.3759, allocations: 112 kB / 464.7 MB, free: 20.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.898e-05/0.376, allocations: 99.61 kB / 464.8 MB, free: 20.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.376, allocations: 0 / 464.8 MB, free: 20.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.3763, allocations: 2.938 kB / 464.8 MB, free: 20.3 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.0003258/0.3766, allocations: 242.8 kB / 465.1 MB, free: 20.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.397e-05/0.3766, allocations: 4 kB / 465.1 MB, free: 20.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3767, allocations: 2.688 kB / 465.1 MB, free: 20.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.3767, 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.0003621/0.377, allocations: 465.8 kB / 465.5 MB, free: 19.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.3772, allocations: 166.3 kB / 465.7 MB, free: 19.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.3774, allocations: 0.6824 MB / 466.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.78e-05/0.3774, allocations: 6.938 kB / 466.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.3774, allocations: 13.84 kB / 466.4 MB, free: 18.76 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3774, allocations: 0 / 466.4 MB, free: 18.76 MB / 366.1 MB Notification: Performance of Templates: time 0.002726/0.3802, allocations: 0.5445 MB / 466.9 MB, free: 18.67 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)