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.001278/0.001278, allocations: 78.64 kB / 19.18 MB, free: 2.531 MB / 14.72 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.00138/0.00138, allocations: 167.9 kB / 22.46 MB, free: 5.363 MB / 14.72 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 1.487/1.487, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.0158/0.0158, allocations: 2.254 MB / 261.4 MB, free: 14.45 MB / 254.1 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 1.934e-06/1.934e-06, allocations: 0 / 385.8 MB, free: 488 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.609e-05/3.802e-05, allocations: 2.281 kB / 385.8 MB, free: 484 kB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.003104/0.003142, allocations: 0.7543 MB / 386.6 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.004745, allocations: 0.8376 MB / 387.4 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.939e-05/0.004794, allocations: 0 / 387.4 MB, free: 14.88 MB / 318.1 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.0003328/0.005127, allocations: 31.78 kB / 387.4 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.005302, allocations: 27.86 kB / 387.4 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.457e-05/0.005317, allocations: 0 / 387.4 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.526e-05/0.005392, allocations: 19.92 kB / 387.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.005438, allocations: 0 / 387.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.138e-05/0.00549, allocations: 11.98 kB / 387.5 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.005613, allocations: 11.92 kB / 387.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.005641, allocations: 0 / 387.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.729e-05/0.005708, allocations: 15.94 kB / 387.5 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.005726, allocations: 4 kB / 387.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.005749, allocations: 7.938 kB / 387.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.005912, allocations: 35.89 kB / 387.6 MB, free: 14.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.005919, allocations: 7.938 kB / 387.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.00592, allocations: 0 / 387.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.361e-06/0.005925, allocations: 0 / 387.6 MB, free: 14.7 MB / 318.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.0004835/0.006409, allocations: 254.3 kB / 387.8 MB, free: 14.42 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.006462, allocations: 8.031 kB / 387.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.006512, allocations: 8.922 kB / 387.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.006696, allocations: 109.8 kB / 387.9 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.006711, allocations: 384 / 387.9 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.006721, allocations: 384 / 387.9 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.006847, allocations: 51.92 kB / 388 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.006863, allocations: 4.172 kB / 388 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.006873, allocations: 384 / 388 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.006882, allocations: 4.375 kB / 388 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.321e-05/0.006905, allocations: 3.938 kB / 388 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.00736, allocations: 427.3 kB / 388.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.007483, allocations: 169.2 kB / 388.6 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.175e-05/0.007535, allocations: 88.08 kB / 388.7 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.705e-05/0.007582, allocations: 75.28 kB / 388.7 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.826e-05/0.00765, allocations: 113.8 kB / 388.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.007651, allocations: 4 kB / 388.9 MB, free: 13.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001061/0.007757, allocations: 29.64 kB / 388.9 MB, free: 13.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.007858, allocations: 134.7 kB / 389 MB, free: 13.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.008023, allocations: 109.8 kB / 389.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.008044, allocations: 25.7 kB / 389.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.008111, allocations: 88.09 kB / 389.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.613e-06/0.008117, allocations: 4 kB / 389.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.008142, allocations: 17.72 kB / 389.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.00828, allocations: 310.8 kB / 389.6 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-06/0.008285, allocations: 0 / 389.6 MB, free: 12.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-06/0.008288, allocations: 0 / 389.6 MB, free: 12.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.691e-05/0.008325, allocations: 79.28 kB / 389.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.114e-05/0.008356, allocations: 79.28 kB / 389.7 MB, free: 12.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.927e-05/0.008415, allocations: 29.64 kB / 389.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.15e-05/0.008466, allocations: 90.03 kB / 389.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.994e-05/0.008506, allocations: 83.25 kB / 389.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.846e-05/0.008585, allocations: 154.5 kB / 390.1 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.5e-05/0.00862, allocations: 83.28 kB / 390.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.864e-05/0.008678, allocations: 150.6 kB / 390.3 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.756e-05/0.008756, allocations: 79.22 kB / 390.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.008789, allocations: 79.28 kB / 390.4 MB, free: 11.62 MB / 318.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 0.000167/0.008956, allocations: 260.4 kB / 390.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.009059, allocations: 116.9 kB / 390.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.642e-05/0.009136, allocations: 116.1 kB / 390.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001351/0.009271, allocations: 184.2 kB / 391.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.339e-05/0.009354, allocations: 176.3 kB / 391.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.16e-05/0.009436, allocations: 180.3 kB / 391.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.009687, allocations: 360.8 kB / 391.8 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-05/0.009735, allocations: 105 kB / 391.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.009794, allocations: 108.9 kB / 392 MB, free: 9.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-05/0.009878, allocations: 176.3 kB / 392.2 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-05/0.009977, allocations: 188.3 kB / 392.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.049e-05/0.01006, allocations: 184.1 kB / 392.5 MB, free: 9.395 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.596e-05/0.01013, allocations: 180.2 kB / 392.7 MB, free: 9.211 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.01033, allocations: 311.7 kB / 393 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.01039, allocations: 105 kB / 393.1 MB, free: 8.773 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.0105, allocations: 188.4 kB / 393.3 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.0106, allocations: 108.9 kB / 393.4 MB, free: 8.469 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/0.01068, allocations: 180.2 kB / 393.6 MB, free: 8.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.01073, allocations: 105 kB / 393.7 MB, free: 8.176 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.132e-05/0.0108, allocations: 91.27 kB / 393.8 MB, free: 8.086 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0108, allocations: 0 / 393.8 MB, free: 8.086 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003443/0.01115, allocations: 8 kB / 393.8 MB, free: 8.078 MB / 318.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.0005341/0.01168, allocations: 244.5 kB / 394 MB, free: 7.859 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 5.817e-05/0.01174, allocations: 4.469 kB / 394 MB, free: 7.855 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01174, allocations: 0 / 394 MB, free: 7.855 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.163e-06/0.01174, allocations: 3.938 kB / 394 MB, free: 7.852 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/0.01234, allocations: 467.4 kB / 394.5 MB, free: 7.395 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.01267, allocations: 176 kB / 394.7 MB, free: 7.195 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.538e-05/0.01273, allocations: 59.34 kB / 394.7 MB, free: 7.117 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.583e-05/0.01275, allocations: 4 kB / 394.7 MB, free: 7.113 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.01278, allocations: 16.48 kB / 394.8 MB, free: 7.098 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.01278, allocations: 3.938 kB / 394.8 MB, free: 7.094 MB / 318.1 MB Notification: Performance of Templates: time 0.003512/0.01629, allocations: 0.5291 MB / 395.3 MB, free: 6.562 MB / 318.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: 4.373125642538071] Failed to read output from testmodel.py, exit status != 0: 0.02646813541650772 0.03952785999999994 0.03059578599999994 Calling exit ...