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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.01858/0.01858, allocations: 2.981 MB / 307.5 MB, free: 3.176 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-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=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.TIRTest") translateModel(ExternData.Examples.TIRTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.TIRTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 63.89 kB / 428.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3485, allocations: 53.06 MB / 481.8 MB, free: 27.64 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.00221/0.3507, allocations: 0.7688 MB / 482.5 MB, free: 27.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008156/0.3515, allocations: 0.8052 MB / 483.4 MB, free: 26.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.3516, allocations: 0 / 483.4 MB, free: 26.6 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-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.0002552/0.3518, allocations: 24.94 kB / 483.4 MB, free: 26.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.3519, allocations: 26.36 kB / 483.4 MB, free: 26.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.102e-05/0.3519, allocations: 3.312 kB / 483.4 MB, free: 26.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.052e-05/0.352, allocations: 13.48 kB / 483.4 MB, free: 26.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.352, allocations: 4 kB / 483.4 MB, free: 26.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.088e-05/0.3521, allocations: 7.156 kB / 483.4 MB, free: 26.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.3522, allocations: 21.36 kB / 483.5 MB, free: 26.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.3522, allocations: 0 / 483.5 MB, free: 26.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.62e-05/0.3522, allocations: 17 kB / 483.5 MB, free: 26.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.3523, allocations: 4 kB / 483.5 MB, free: 26.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.3523, allocations: 10.53 kB / 483.5 MB, free: 26.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.3524, allocations: 35.61 kB / 483.5 MB, free: 26.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3524, allocations: 0 / 483.5 MB, free: 26.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3524, allocations: 0 / 483.5 MB, free: 26.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.3524, allocations: 0 / 483.5 MB, free: 26.51 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.0003516/0.3528, allocations: 341.2 kB / 483.8 MB, free: 26.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3528, allocations: 12.36 kB / 483.9 MB, free: 26.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.3528, allocations: 4.156 kB / 483.9 MB, free: 26.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.353, allocations: 170.5 kB / 484 MB, free: 25.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.353, allocations: 384 / 484 MB, free: 25.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.353, allocations: 4.375 kB / 484 MB, free: 25.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.716e-05/0.3531, allocations: 48.86 kB / 484.1 MB, free: 25.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3531, allocations: 4.188 kB / 484.1 MB, free: 25.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.3531, allocations: 7.938 kB / 484.1 MB, free: 25.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3531, allocations: 0 / 484.1 MB, free: 25.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.812e-05/0.3531, allocations: 3.062 kB / 484.1 MB, free: 25.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.3534, allocations: 480.5 kB / 484.6 MB, free: 25.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.679e-05/0.3534, allocations: 177.1 kB / 484.7 MB, free: 25.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.3535, allocations: 80.14 kB / 484.8 MB, free: 25.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3535, allocations: 75.28 kB / 484.9 MB, free: 25.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.3535, allocations: 105.8 kB / 485 MB, free: 24.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3535, allocations: 0 / 485 MB, free: 24.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.153e-05/0.3536, allocations: 40.2 kB / 485 MB, free: 24.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.3536, allocations: 130.7 kB / 485.2 MB, free: 24.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.789e-05/0.3537, allocations: 113.7 kB / 485.3 MB, free: 24.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.15e-06/0.3537, allocations: 28.86 kB / 485.3 MB, free: 24.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.131e-05/0.3537, allocations: 92.02 kB / 485.4 MB, free: 24.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.3537, allocations: 0 / 485.4 MB, free: 24.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.3538, allocations: 12.91 kB / 485.4 MB, free: 24.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.84e-05/0.3538, allocations: 314.3 kB / 485.7 MB, free: 24.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-06/0.3538, allocations: 0 / 485.7 MB, free: 24.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-06/0.3538, allocations: 4 kB / 485.7 MB, free: 24.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.348e-05/0.3538, allocations: 75.28 kB / 485.8 MB, free: 24.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.3538, allocations: 79.22 kB / 485.9 MB, free: 24.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.776e-05/0.3539, allocations: 32.7 kB / 485.9 MB, free: 23.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3539, allocations: 85.28 kB / 486 MB, free: 23.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.3539, allocations: 78.38 kB / 486.1 MB, free: 23.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.41e-05/0.354, allocations: 158.5 kB / 486.2 MB, free: 23.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-05/0.354, allocations: 82.66 kB / 486.3 MB, free: 23.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-05/0.354, allocations: 154.6 kB / 486.4 MB, free: 23.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.031e-05/0.3541, allocations: 82.41 kB / 486.5 MB, free: 23.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.3541, allocations: 75.28 kB / 486.6 MB, free: 23.29 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.838e-05/0.3541, allocations: 267.6 kB / 486.9 MB, free: 23.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.3542, allocations: 108.3 kB / 487 MB, free: 22.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.3542, allocations: 111.8 kB / 487.1 MB, free: 22.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/0.3542, allocations: 176.3 kB / 487.2 MB, free: 22.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.032e-05/0.3543, allocations: 187.3 kB / 487.4 MB, free: 22.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.907e-05/0.3543, allocations: 183.7 kB / 487.6 MB, free: 22.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.3544, allocations: 411.6 kB / 488 MB, free: 21.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.3545, allocations: 105 kB / 488.1 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.726e-05/0.3545, allocations: 104.1 kB / 488.2 MB, free: 21.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.773e-05/0.3545, allocations: 183.5 kB / 488.4 MB, free: 21.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.3545, allocations: 176.3 kB / 488.6 MB, free: 21.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.018e-05/0.3546, allocations: 183.3 kB / 488.7 MB, free: 21.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.05e-05/0.3546, allocations: 176.3 kB / 488.9 MB, free: 20.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.663e-05/0.3547, allocations: 325.1 kB / 489.2 MB, free: 20.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.3547, allocations: 178.1 kB / 489.4 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.3548, allocations: 190.5 kB / 489.6 MB, free: 20.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.586e-05/0.3548, allocations: 105 kB / 489.7 MB, free: 20.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.3548, allocations: 184.2 kB / 489.9 MB, free: 19.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.3549, allocations: 104 kB / 490 MB, free: 19.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.598e-05/0.3549, allocations: 91.92 kB / 490.1 MB, free: 19.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3549, allocations: 3.938 kB / 490.1 MB, free: 19.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.3552, allocations: 3.125 kB / 490.1 MB, free: 19.65 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.0004409/0.3556, allocations: 258.4 kB / 490.3 MB, free: 19.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.03e-05/0.3557, allocations: 0 / 490.3 MB, free: 19.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3557, allocations: 4 kB / 490.3 MB, free: 19.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.796e-06/0.3557, allocations: 3.938 kB / 490.3 MB, free: 19.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.3561, allocations: 469.5 kB / 490.8 MB, free: 18.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.3564, allocations: 161.9 kB / 491 MB, free: 18.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.3565, allocations: 0.681 MB / 491.6 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.976e-05/0.3565, allocations: 4 kB / 491.6 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.3565, allocations: 13.42 kB / 491.7 MB, free: 18.11 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3565, allocations: 2.562 kB / 491.7 MB, free: 18.11 MB / 366.1 MB Notification: Performance of Templates: time 0.002614/0.3592, allocations: 0.5401 MB / 492.2 MB, free: 18.02 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.TIRTest.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.08438201341778]