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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007761/0.0007761, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008178/0.0008178, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8712/0.8712, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.008311/0.008311, allocations: 2.244 MB / 262.2 MB, free: 10.98 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.063e-06/2.063e-06, allocations: 0 / 386.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.118e-05, allocations: 6.219 kB / 386.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001312/0.001333, allocations: 0.7637 MB / 387.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006127/0.001946, allocations: 0.8259 MB / 388.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.00197, allocations: 0 / 388.2 MB, free: 10.33 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:301:3-326:14:writable] Warning: Pure function 'ExternData.TIRFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.000155/0.002125, allocations: 35.73 kB / 388.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.533e-05/0.002211, allocations: 19.91 kB / 388.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.476e-06/0.002219, allocations: 4 kB / 388.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.981e-05/0.002259, allocations: 11.94 kB / 388.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.118e-05/0.00229, allocations: 7.984 kB / 388.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.002315, allocations: 11.94 kB / 388.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.468e-05/0.00236, allocations: 8 kB / 388.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.104e-06/0.002367, allocations: 0 / 388.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.422e-05/0.002401, allocations: 23.91 kB / 388.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.002409, allocations: 0 / 388.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.002429, allocations: 7.938 kB / 388.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 8.247e-05/0.002512, allocations: 35.84 kB / 388.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-06/0.002513, allocations: 0 / 388.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.002514, allocations: 0 / 388.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.002517, allocations: 0 / 388.3 MB, free: 10.16 MB / 362.7 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.0002013/0.002718, allocations: 254.3 kB / 388.6 MB, free: 9.883 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.002746, allocations: 12.03 kB / 388.6 MB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.91e-05/0.002765, allocations: 8.891 kB / 388.6 MB, free: 9.863 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.628e-05/0.002841, allocations: 113.8 kB / 388.7 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-06/0.002848, allocations: 384 / 388.7 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-06/0.002853, allocations: 384 / 388.7 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.38e-05/0.002907, allocations: 51.92 kB / 388.7 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-06/0.002912, allocations: 192 / 388.7 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-06/0.002917, allocations: 4.312 kB / 388.7 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.00292, allocations: 384 / 388.7 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.475e-05/0.002935, allocations: 11.88 kB / 388.8 MB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.003154, allocations: 423.3 kB / 389.2 MB, free: 9.199 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.869e-05/0.003213, allocations: 177.1 kB / 389.3 MB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.418e-05/0.003237, allocations: 84.14 kB / 389.4 MB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.003257, allocations: 79.28 kB / 389.5 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.00329, allocations: 105.8 kB / 389.6 MB, free: 8.738 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 5.61e-07/0.00329, allocations: 0 / 389.6 MB, free: 8.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 4.166e-05/0.003332, allocations: 33.59 kB / 389.6 MB, free: 8.699 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.003383, allocations: 138.6 kB / 389.8 MB, free: 8.551 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.411e-05/0.003457, allocations: 109.8 kB / 389.9 MB, free: 8.434 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.003465, allocations: 25.7 kB / 389.9 MB, free: 8.402 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/0.003494, allocations: 88.14 kB / 390 MB, free: 8.312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.112e-06/0.003495, allocations: 4 kB / 390 MB, free: 8.309 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.003509, allocations: 9.719 kB / 390 MB, free: 8.293 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.055e-05/0.00358, allocations: 318.8 kB / 390.3 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-06/0.003583, allocations: 0 / 390.3 MB, free: 7.973 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.694e-06/0.003584, allocations: 0 / 390.3 MB, free: 7.973 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.332e-05/0.003608, allocations: 75.28 kB / 390.4 MB, free: 7.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-05/0.003627, allocations: 75.53 kB / 390.5 MB, free: 7.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.012e-05/0.003657, allocations: 29.7 kB / 390.5 MB, free: 7.789 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.003682, allocations: 83.22 kB / 390.6 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.003708, allocations: 83.22 kB / 390.7 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.247e-05/0.00375, allocations: 158.6 kB / 390.8 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-05/0.003767, allocations: 83.22 kB / 390.9 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.759e-05/0.003804, allocations: 154.5 kB / 391 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.093e-05/0.003845, allocations: 79.28 kB / 391.1 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.003863, allocations: 79.22 kB / 391.2 MB, free: 7.078 MB / 362.7 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.754e-05/0.003941, allocations: 261.1 kB / 391.5 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.003978, allocations: 108.9 kB / 391.6 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.004013, allocations: 120.3 kB / 391.7 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.994e-05/0.004053, allocations: 176.3 kB / 391.9 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.056e-05/0.004093, allocations: 176.3 kB / 392 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.715e-05/0.00414, allocations: 188.2 kB / 392.2 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.004269, allocations: 360.9 kB / 392.6 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.579e-05/0.004295, allocations: 108.9 kB / 392.7 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.963e-05/0.004325, allocations: 101 kB / 392.8 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-05/0.00437, allocations: 188.2 kB / 393 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/0.004414, allocations: 184.2 kB / 393.1 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.723e-05/0.004461, allocations: 184.1 kB / 393.3 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.048e-05/0.004512, allocations: 184.2 kB / 393.5 MB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.302e-05/0.004605, allocations: 299.8 kB / 393.8 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.004637, allocations: 113 kB / 393.9 MB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.004682, allocations: 176.3 kB / 394.1 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.592e-05/0.004728, allocations: 108.9 kB / 394.2 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.00477, allocations: 184.3 kB / 394.4 MB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.004796, allocations: 108.9 kB / 394.5 MB, free: 3.629 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.489e-05/0.004831, allocations: 87.28 kB / 394.5 MB, free: 3.543 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004831, allocations: 0 / 394.5 MB, free: 3.543 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001631/0.004995, allocations: 8 kB / 394.6 MB, free: 3.535 MB / 362.7 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.0002565/0.005251, allocations: 247.4 kB / 394.8 MB, free: 3.316 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.106e-05/0.005282, allocations: 4 kB / 394.8 MB, free: 3.312 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.005283, allocations: 0 / 394.8 MB, free: 3.312 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.517e-06/0.005287, allocations: 8 kB / 394.8 MB, free: 3.305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.005563, allocations: 459.7 kB / 395.3 MB, free: 2.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000182/0.005745, allocations: 205.8 kB / 395.5 MB, free: 2.617 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.31e-05/0.005778, allocations: 59.34 kB / 395.5 MB, free: 2.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.005795, allocations: 12.5 kB / 395.5 MB, free: 2.527 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.005795, allocations: 0 / 395.5 MB, free: 2.527 MB / 362.7 MB Notification: Performance of Templates: time 0.001248/0.007043, allocations: 0.7258 MB / 396.3 MB, free: 1.805 MB / 362.7 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: 3.942038856446743] Failed to read output from testmodel.py, exit status != 0: 0.011196188628673553 0.01901075 0.014946168000000001 Calling exit ...