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-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-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=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.001547/0.001547, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.336/1.336, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1085/0.1085, allocations: 2.928 MB / 293.5 MB, free: 3.191 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.91 kB / 354.6 MB, free: 4.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08103/0.08239, allocations: 50.34 MB / 405 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.002143/0.08457, allocations: 0.8112 MB / 405.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00092/0.08551, allocations: 0.715 MB / 406.5 MB, free: 324 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.08555, allocations: 0 / 406.5 MB, free: 324 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.08574, allocations: 19.94 kB / 406.5 MB, free: 304 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.077e-05/0.08584, allocations: 23.91 kB / 406.6 MB, free: 280 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.073e-05/0.08586, allocations: 8 kB / 406.6 MB, free: 272 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.16e-05/0.08591, allocations: 15.88 kB / 406.6 MB, free: 256 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.07e-05/0.08595, allocations: 4 kB / 406.6 MB, free: 252 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.723e-05/0.08597, allocations: 4 kB / 406.6 MB, free: 248 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.08612, allocations: 15.91 kB / 406.6 MB, free: 232 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.08614, allocations: 4 kB / 406.6 MB, free: 228 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.381e-05/0.08618, allocations: 8 kB / 406.6 MB, free: 220 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.0862, allocations: 4 kB / 406.6 MB, free: 216 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.08623, allocations: 7.875 kB / 406.6 MB, free: 208 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.928e-05/0.08631, allocations: 27.95 kB / 406.7 MB, free: 180 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.08632, allocations: 8 kB / 406.7 MB, free: 172 kB / 334.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.08633, allocations: 4 kB / 406.7 MB, free: 168 kB / 334.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.08634, allocations: 0 / 406.7 MB, free: 168 kB / 334.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.0003225/0.08667, allocations: 339.7 kB / 407 MB, free: 15.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.0867, allocations: 8.031 kB / 407 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.08674, allocations: 0.9375 kB / 407 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.0869, allocations: 172.3 kB / 407.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.08692, allocations: 4.312 kB / 407.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.08693, allocations: 384 / 407.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.279e-05/0.08702, allocations: 47.98 kB / 407.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.08703, allocations: 4.188 kB / 407.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.08704, allocations: 3.938 kB / 407.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.08705, allocations: 0 / 407.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.969e-05/0.08708, allocations: 7.922 kB / 407.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.08739, allocations: 471.7 kB / 407.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.605e-05/0.08747, allocations: 181.1 kB / 407.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.08751, allocations: 84.14 kB / 408 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.08755, allocations: 79.28 kB / 408 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.08759, allocations: 105.8 kB / 408.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.0876, allocations: 4 kB / 408.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.461e-05/0.08767, allocations: 29.7 kB / 408.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.011e-05/0.08776, allocations: 130.6 kB / 408.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.08787, allocations: 121.7 kB / 408.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.08789, allocations: 25.7 kB / 408.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.08793, allocations: 84.14 kB / 408.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.08793, allocations: 0 / 408.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.08796, allocations: 13.72 kB / 408.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.08806, allocations: 318.8 kB / 408.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.818e-06/0.08807, allocations: 0 / 408.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-06/0.08808, allocations: 0 / 408.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.768e-05/0.08811, allocations: 79.28 kB / 408.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/0.08814, allocations: 79.22 kB / 409 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.27e-05/0.08819, allocations: 25.7 kB / 409 MB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.08824, allocations: 83.28 kB / 409.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.08827, allocations: 79.22 kB / 409.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-05/0.08832, allocations: 154.6 kB / 409.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.189e-05/0.08836, allocations: 87.2 kB / 409.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.891e-05/0.0884, allocations: 154.6 kB / 409.6 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.254e-05/0.08848, allocations: 75.28 kB / 409.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.08851, allocations: 79.22 kB / 409.7 MB, free: 12.85 MB / 350.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.0001338/0.08865, allocations: 268.3 kB / 410 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.08873, allocations: 109 kB / 410.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/0.08878, allocations: 116.4 kB / 410.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.182e-05/0.08883, allocations: 180.2 kB / 410.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.463e-05/0.08889, allocations: 176.3 kB / 410.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.926e-05/0.08895, allocations: 188.1 kB / 410.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.08916, allocations: 417.1 kB / 411.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.873e-05/0.08921, allocations: 112.9 kB / 411.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.08924, allocations: 101 kB / 411.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.798e-05/0.08931, allocations: 180.3 kB / 411.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.867e-05/0.08937, allocations: 180.2 kB / 411.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.686e-05/0.08943, allocations: 184.3 kB / 411.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.947e-05/0.08949, allocations: 184.2 kB / 412.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.08967, allocations: 312 kB / 412.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.579e-05/0.08974, allocations: 182.1 kB / 412.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.08981, allocations: 188.3 kB / 412.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.08989, allocations: 104.9 kB / 412.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.08995, allocations: 180.3 kB / 413 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.08999, allocations: 108.9 kB / 413.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.202e-05/0.09005, allocations: 91.27 kB / 413.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09005, allocations: 0 / 413.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.09032, allocations: 4 kB / 413.2 MB, free: 9.137 MB / 350.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.0003756/0.0907, allocations: 254.8 kB / 413.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 3.616e-05/0.09075, allocations: 0 / 413.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.09075, allocations: 0 / 413.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.09076, allocations: 0 / 413.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.09121, allocations: 0.5286 MB / 414 MB, free: 8.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.09148, allocations: 211.6 kB / 414.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.09171, allocations: 0.677 MB / 414.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.09174, allocations: 11.44 kB / 414.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.09175, allocations: 0 / 414.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of Templates: time 0.001924/0.09368, allocations: 0.6996 MB / 415.6 MB, free: 6.719 MB / 350.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)