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.006969/0.006969, allocations: 101.5 kB / 15.73 MB, free: 6.477 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.001875/0.001876, allocations: 192.6 kB / 16.67 MB, free: 6.391 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1672/0.1672, allocations: 2.939 MB / 293.5 MB, free: 3.27 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.89 kB / 406.3 MB, free: 176 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3126, allocations: 50.34 MB / 456.6 MB, free: 28.29 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001921/0.3146, allocations: 0.7448 MB / 457.3 MB, free: 27.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007261/0.3153, allocations: 0.7298 MB / 458.1 MB, free: 27.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.3153, allocations: 4 kB / 458.1 MB, free: 27.31 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.0002255/0.3156, allocations: 28.95 kB / 458.1 MB, free: 27.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.681e-05/0.3157, allocations: 21.22 kB / 458.1 MB, free: 27.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.184e-05/0.3157, allocations: 7.25 kB / 458.1 MB, free: 27.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.978e-05/0.3157, allocations: 17.88 kB / 458.1 MB, free: 27.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.3158, allocations: 4 kB / 458.2 MB, free: 27.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.949e-05/0.3158, allocations: 6.719 kB / 458.2 MB, free: 27.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.3159, allocations: 17.06 kB / 458.2 MB, free: 27.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.316, allocations: 0 / 458.2 MB, free: 27.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.261e-05/0.316, allocations: 17.44 kB / 458.2 MB, free: 27.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.316, allocations: 3.984 kB / 458.2 MB, free: 27.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.316, allocations: 15.12 kB / 458.2 MB, free: 27.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.677e-05/0.3161, allocations: 32.06 kB / 458.2 MB, free: 27.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3162, allocations: 4 kB / 458.2 MB, free: 27.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3162, allocations: 0 / 458.2 MB, free: 27.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3162, allocations: 0 / 458.2 MB, free: 27.21 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.0002663/0.3164, allocations: 339.3 kB / 458.6 MB, free: 26.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.3165, allocations: 13.14 kB / 458.6 MB, free: 26.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.3165, allocations: 0.9375 kB / 458.6 MB, free: 26.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.3166, allocations: 171.3 kB / 458.8 MB, free: 26.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.3166, allocations: 4.375 kB / 458.8 MB, free: 26.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.3167, allocations: 384 / 458.8 MB, free: 26.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.625e-05/0.3167, allocations: 54.31 kB / 458.8 MB, free: 26.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3168, allocations: 192 / 458.8 MB, free: 26.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.3168, allocations: 3.938 kB / 458.8 MB, free: 26.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3168, allocations: 0 / 458.8 MB, free: 26.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.563e-05/0.3168, allocations: 3.406 kB / 458.8 MB, free: 26.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.317, allocations: 479.9 kB / 459.3 MB, free: 26.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.986e-05/0.3171, allocations: 172.2 kB / 459.5 MB, free: 25.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/0.3171, allocations: 80.14 kB / 459.5 MB, free: 25.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.3171, allocations: 75.28 kB / 459.6 MB, free: 25.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.3171, allocations: 121.8 kB / 459.7 MB, free: 25.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3172, allocations: 0 / 459.7 MB, free: 25.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.299e-05/0.3172, allocations: 28.95 kB / 459.8 MB, free: 25.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.3173, allocations: 126.7 kB / 459.9 MB, free: 25.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.851e-05/0.3173, allocations: 121.1 kB / 460 MB, free: 25.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.3174, allocations: 32.86 kB / 460 MB, free: 25.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.89e-05/0.3174, allocations: 80.14 kB / 460.1 MB, free: 25.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.262e-06/0.3174, allocations: 4 kB / 460.1 MB, free: 25.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/0.3174, allocations: 9.719 kB / 460.1 MB, free: 25.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.518e-05/0.3175, allocations: 318 kB / 460.4 MB, free: 24.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-06/0.3175, allocations: 0 / 460.4 MB, free: 24.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-06/0.3175, allocations: 0 / 460.4 MB, free: 24.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.246e-05/0.3175, allocations: 75.28 kB / 460.5 MB, free: 24.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.3175, allocations: 83.16 kB / 460.6 MB, free: 24.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.793e-05/0.3176, allocations: 36.42 kB / 460.6 MB, free: 24.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.3176, allocations: 85.03 kB / 460.7 MB, free: 24.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.3176, allocations: 75.28 kB / 460.8 MB, free: 24.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/0.3176, allocations: 157.4 kB / 460.9 MB, free: 24.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.143e-05/0.3177, allocations: 79.28 kB / 461 MB, free: 24.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.21e-05/0.3177, allocations: 154.8 kB / 461.2 MB, free: 24.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/0.3177, allocations: 87.91 kB / 461.2 MB, free: 24.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3178, allocations: 79.28 kB / 461.3 MB, free: 24 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.104e-05/0.3178, allocations: 264.8 kB / 461.6 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.3179, allocations: 109.1 kB / 461.7 MB, free: 23.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.3179, allocations: 107.5 kB / 461.8 MB, free: 23.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/0.3179, allocations: 191.7 kB / 462 MB, free: 23.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.72e-05/0.318, allocations: 183.4 kB / 462.2 MB, free: 23.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.31e-05/0.318, allocations: 176.3 kB / 462.3 MB, free: 22.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.3181, allocations: 415 kB / 462.7 MB, free: 22.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.3182, allocations: 104.4 kB / 462.8 MB, free: 22.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/0.3182, allocations: 104.9 kB / 462.9 MB, free: 22.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.874e-05/0.3182, allocations: 180.3 kB / 463.1 MB, free: 22.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.3182, allocations: 180.3 kB / 463.3 MB, free: 21.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.197e-05/0.3183, allocations: 186.7 kB / 463.5 MB, free: 21.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.35e-05/0.3183, allocations: 176.3 kB / 463.7 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.258e-05/0.3184, allocations: 313.5 kB / 464 MB, free: 21.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.3184, allocations: 185.4 kB / 464.1 MB, free: 21.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.3184, allocations: 183.4 kB / 464.3 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.3185, allocations: 104.5 kB / 464.4 MB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.3185, allocations: 184.2 kB / 464.6 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.3186, allocations: 108.2 kB / 464.7 MB, free: 20.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.595e-05/0.3186, allocations: 97.16 kB / 464.8 MB, free: 20.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3186, allocations: 0 / 464.8 MB, free: 20.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.3189, allocations: 10.03 kB / 464.8 MB, free: 20.35 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.0003031/0.3192, allocations: 238.2 kB / 465 MB, free: 20.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.104e-05/0.3192, allocations: 10.73 kB / 465.1 MB, free: 20.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3192, allocations: 0 / 465.1 MB, free: 20.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.3192, allocations: 0 / 465.1 MB, free: 20.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3196, allocations: 470.7 kB / 465.5 MB, free: 19.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000194/0.3198, allocations: 169.6 kB / 465.7 MB, free: 19.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.3199, allocations: 0.6792 MB / 466.4 MB, free: 18.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.618e-05/0.3199, allocations: 3.125 kB / 466.4 MB, free: 18.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.32, allocations: 10.84 kB / 466.4 MB, free: 18.81 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.32, allocations: 0 / 466.4 MB, free: 18.81 MB / 366.1 MB Notification: Performance of Templates: time 0.002318/0.3223, allocations: 0.5397 MB / 466.9 MB, free: 18.73 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)