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.001164/0.001164, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001161/0.001161, allocations: 177 kB / 23.36 MB, free: 1.129 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.8993/0.8993, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.009366/0.009366, allocations: 2.268 MB / 262.5 MB, free: 10.68 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 1.232e-06/1.232e-06, allocations: 0 / 280 MB, free: 9.227 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.594e-05, allocations: 4.984 kB / 280 MB, free: 9.223 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001307/0.001323, allocations: 0.7831 MB / 280.8 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007131/0.002036, allocations: 0.8728 MB / 281.6 MB, free: 7.562 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.00207, allocations: 4 kB / 281.6 MB, free: 7.559 MB / 266.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.0001878/0.002257, allocations: 23.84 kB / 281.7 MB, free: 7.535 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.002363, allocations: 35.78 kB / 281.7 MB, free: 7.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.985e-06/0.002371, allocations: 0 / 281.7 MB, free: 7.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.451e-05/0.002415, allocations: 15.94 kB / 281.7 MB, free: 7.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.921e-05/0.002444, allocations: 0 / 281.7 MB, free: 7.484 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.133e-05/0.002476, allocations: 11.98 kB / 281.7 MB, free: 7.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.002526, allocations: 4 kB / 281.7 MB, free: 7.469 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.002534, allocations: 0 / 281.7 MB, free: 7.469 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.575e-05/0.00257, allocations: 11.94 kB / 281.7 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.00259, allocations: 19.97 kB / 281.8 MB, free: 7.438 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.174e-05/0.002602, allocations: 0 / 281.8 MB, free: 7.438 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.247e-05/0.002685, allocations: 27.86 kB / 281.8 MB, free: 7.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.002686, allocations: 0 / 281.8 MB, free: 7.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.002687, allocations: 0 / 281.8 MB, free: 7.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.896e-06/0.00269, allocations: 0 / 281.8 MB, free: 7.41 MB / 266.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.0001999/0.00289, allocations: 244.8 kB / 282 MB, free: 7.145 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.002918, allocations: 8.031 kB / 282 MB, free: 7.137 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.962e-05/0.002938, allocations: 4.922 kB / 282 MB, free: 7.133 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.499e-05/0.003013, allocations: 105.8 kB / 282.1 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.003021, allocations: 4.375 kB / 282.1 MB, free: 7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.00303, allocations: 4.375 kB / 282.1 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.142e-05/0.003082, allocations: 43.97 kB / 282.2 MB, free: 6.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.003091, allocations: 4.188 kB / 282.2 MB, free: 6.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.0031, allocations: 4.375 kB / 282.2 MB, free: 6.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.003104, allocations: 384 / 282.2 MB, free: 6.934 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.576e-06/0.003112, allocations: 11.88 kB / 282.2 MB, free: 6.922 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.003273, allocations: 375.1 kB / 282.6 MB, free: 6.535 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.485e-05/0.003328, allocations: 177.1 kB / 282.7 MB, free: 6.352 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.003349, allocations: 84.14 kB / 282.8 MB, free: 6.266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.003365, allocations: 79.28 kB / 282.9 MB, free: 6.188 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.003393, allocations: 109.8 kB / 283 MB, free: 6.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 6.92e-07/0.003393, allocations: 0 / 283 MB, free: 6.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 3.892e-05/0.003432, allocations: 29.64 kB / 283 MB, free: 6.035 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.003474, allocations: 130.7 kB / 283.2 MB, free: 5.895 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/0.003539, allocations: 110.7 kB / 283.3 MB, free: 5.773 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.003546, allocations: 25.7 kB / 283.3 MB, free: 5.742 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.209e-05/0.003568, allocations: 88.03 kB / 283.4 MB, free: 5.652 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.32e-07/0.003568, allocations: 0 / 283.4 MB, free: 5.652 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.506e-05/0.003584, allocations: 13.72 kB / 283.4 MB, free: 5.633 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.003647, allocations: 322.8 kB / 283.7 MB, free: 5.309 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-06/0.003649, allocations: 0 / 283.7 MB, free: 5.309 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-06/0.003652, allocations: 3.938 kB / 283.7 MB, free: 5.305 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.587e-05/0.003668, allocations: 75.28 kB / 283.8 MB, free: 5.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/0.003685, allocations: 79.28 kB / 283.9 MB, free: 5.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.884e-05/0.003714, allocations: 25.7 kB / 283.9 MB, free: 5.121 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.003737, allocations: 83.28 kB / 284 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.003754, allocations: 83.22 kB / 284.1 MB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.421e-05/0.003789, allocations: 154.5 kB / 284.2 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.813e-05/0.003807, allocations: 83.27 kB / 284.3 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.842e-05/0.003835, allocations: 154.5 kB / 284.4 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.003872, allocations: 79.28 kB / 284.5 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.003889, allocations: 83.22 kB / 284.6 MB, free: 4.41 MB / 266.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 6.755e-05/0.003956, allocations: 256.4 kB / 284.9 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.003987, allocations: 105 kB / 285 MB, free: 4.039 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.00402, allocations: 116.4 kB / 285.1 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.345e-05/0.004054, allocations: 180.2 kB / 285.2 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.372e-05/0.004087, allocations: 180.3 kB / 285.4 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.665e-05/0.004124, allocations: 180.2 kB / 285.6 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.004235, allocations: 325.5 kB / 285.9 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.207e-05/0.004258, allocations: 108.9 kB / 286 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.004278, allocations: 109 kB / 286.1 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.614e-05/0.004314, allocations: 176.3 kB / 286.3 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.004349, allocations: 184.2 kB / 286.5 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.618e-05/0.004385, allocations: 184.5 kB / 286.7 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-05/0.004421, allocations: 180.6 kB / 286.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.004538, allocations: 311.8 kB / 287.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.004567, allocations: 108.9 kB / 287.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.004611, allocations: 184.3 kB / 287.4 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.275e-05/0.004653, allocations: 104.9 kB / 287.5 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.004694, allocations: 176.3 kB / 287.7 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.00472, allocations: 116.9 kB / 287.8 MB, free: 1.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.621e-05/0.004736, allocations: 12.8 kB / 287.8 MB, free: 1.004 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004736, allocations: 0 / 287.8 MB, free: 1.004 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001307/0.004867, allocations: 7.938 kB / 287.8 MB, free: 0.9961 MB / 266.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.0003461/0.005213, allocations: 259.4 kB / 288.1 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.302e-05/0.005236, allocations: 4 kB / 288.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.005238, allocations: 0 / 288.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.005239, allocations: 0 / 288.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.005461, allocations: 459.9 kB / 288.5 MB, free: 328 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001589/0.00562, allocations: 176 kB / 288.7 MB, free: 124 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.885e-05/0.005649, allocations: 67.23 kB / 288.8 MB, free: 36 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.759e-06/0.005659, allocations: 0 / 288.8 MB, free: 36 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.08708/0.09274, allocations: 53.39 kB / 288.8 MB, free: 25.68 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.09274, allocations: 0 / 288.8 MB, free: 25.68 MB / 266.7 MB Notification: Performance of Templates: time 0.001911/0.09465, allocations: 0.6147 MB / 289.4 MB, free: 25.66 MB / 266.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=240 -lv LOG_STATS > ExternData_ExternData.Examples.TIRTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5494256606325507]