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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 181.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.01112/0.01112, allocations: 2.944 MB / 19.67 MB, free: 2.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 244.3 MB, free: 7.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 103.4 kB / 295.4 MB, free: 7.625 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 52.14 kB / 356.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2017, allocations: 50.33 MB / 406.8 MB, free: 29.03 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001806/0.2035, allocations: 0.8039 MB / 407.6 MB, free: 28.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006478/0.2042, allocations: 0.7306 MB / 408.3 MB, free: 27.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.2042, allocations: 0 / 408.3 MB, free: 27.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.2044, allocations: 19.94 kB / 408.3 MB, free: 27.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.864e-05/0.2045, allocations: 23.91 kB / 408.4 MB, free: 27.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.217e-06/0.2045, allocations: 4 kB / 408.4 MB, free: 27.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.922e-05/0.2045, allocations: 8 kB / 408.4 MB, free: 27.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.092e-05/0.2046, allocations: 9.375 kB / 408.4 MB, free: 27.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.626e-05/0.2046, allocations: 7.938 kB / 408.4 MB, free: 27.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.886e-05/0.2047, allocations: 11.97 kB / 408.4 MB, free: 27.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.664e-06/0.2047, allocations: 0 / 408.4 MB, free: 27.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.864e-05/0.2048, allocations: 15.47 kB / 408.4 MB, free: 27.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.2048, allocations: 3.938 kB / 408.4 MB, free: 27.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.2048, allocations: 15.88 kB / 408.4 MB, free: 27.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.004e-05/0.2049, allocations: 31.95 kB / 408.5 MB, free: 27.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2049, allocations: 0 / 408.5 MB, free: 27.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.2049, allocations: 0 / 408.5 MB, free: 27.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.125e-06/0.2049, allocations: 0 / 408.5 MB, free: 27.37 MB / 298.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.0002364/0.2052, allocations: 337.6 kB / 408.8 MB, free: 26.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.2052, allocations: 12.03 kB / 408.8 MB, free: 26.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.2052, allocations: 4.938 kB / 408.8 MB, free: 26.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.207e-05/0.2053, allocations: 172.2 kB / 409 MB, free: 26.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.2053, allocations: 4.375 kB / 409 MB, free: 26.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.2053, allocations: 4.375 kB / 409 MB, free: 26.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.378e-05/0.2054, allocations: 39.98 kB / 409 MB, free: 26.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2054, allocations: 4.172 kB / 409 MB, free: 26.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.2054, allocations: 3.938 kB / 409 MB, free: 26.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2055, allocations: 4 kB / 409.1 MB, free: 26.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.604e-05/0.2055, allocations: 11.94 kB / 409.1 MB, free: 26.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.2057, allocations: 475.6 kB / 409.5 MB, free: 26.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.815e-05/0.2057, allocations: 173.1 kB / 409.7 MB, free: 25.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.383e-05/0.2057, allocations: 84.14 kB / 409.8 MB, free: 25.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.2058, allocations: 83.2 kB / 409.9 MB, free: 25.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.2058, allocations: 105.8 kB / 410 MB, free: 25.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.2058, allocations: 0 / 410 MB, free: 25.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.247e-05/0.2059, allocations: 29.7 kB / 410 MB, free: 25.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.2059, allocations: 126.7 kB / 410.1 MB, free: 25.53 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.293e-05/0.206, allocations: 121.8 kB / 410.2 MB, free: 25.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-06/0.206, allocations: 25.7 kB / 410.3 MB, free: 25.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.974e-05/0.206, allocations: 92.12 kB / 410.3 MB, free: 25.28 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.206, allocations: 0 / 410.3 MB, free: 25.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.469e-05/0.206, allocations: 9.719 kB / 410.4 MB, free: 25.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.086e-05/0.2061, allocations: 314.8 kB / 410.7 MB, free: 24.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-06/0.2061, allocations: 0 / 410.7 MB, free: 24.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-06/0.2061, allocations: 3.938 kB / 410.7 MB, free: 24.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.146e-05/0.2061, allocations: 75.28 kB / 410.7 MB, free: 24.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.2061, allocations: 83.22 kB / 410.8 MB, free: 24.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.45e-05/0.2062, allocations: 37.61 kB / 410.9 MB, free: 24.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.2062, allocations: 79.28 kB / 410.9 MB, free: 24.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.2062, allocations: 75.28 kB / 411 MB, free: 24.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.2062, allocations: 162.5 kB / 411.2 MB, free: 24.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-06/0.2063, allocations: 79.31 kB / 411.2 MB, free: 24.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.872e-05/0.2063, allocations: 158.5 kB / 411.4 MB, free: 24.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.2063, allocations: 79.22 kB / 411.5 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.2064, allocations: 75.28 kB / 411.6 MB, free: 24.04 MB / 298.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 4.97e-05/0.2064, allocations: 276.2 kB / 411.8 MB, free: 23.76 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.2064, allocations: 101 kB / 411.9 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.937e-05/0.2065, allocations: 112.5 kB / 412 MB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.2065, allocations: 184.2 kB / 412.2 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.03e-05/0.2065, allocations: 180.3 kB / 412.4 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/0.2065, allocations: 180.3 kB / 412.6 MB, free: 22.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.2067, allocations: 417.1 kB / 413 MB, free: 22.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.2067, allocations: 101 kB / 413.1 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.334e-05/0.2067, allocations: 108.9 kB / 413.2 MB, free: 22.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.986e-05/0.2067, allocations: 176.3 kB / 413.3 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.2068, allocations: 184.2 kB / 413.5 MB, free: 21.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-05/0.2068, allocations: 180.2 kB / 413.7 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.068e-05/0.2068, allocations: 176.3 kB / 413.9 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.207, allocations: 0.8608 MB / 414.7 MB, free: 20.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.207, allocations: 178.1 kB / 414.9 MB, free: 20.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.207, allocations: 184.2 kB / 415.1 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.307e-05/0.2071, allocations: 109 kB / 415.2 MB, free: 20.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.2071, allocations: 184.2 kB / 415.4 MB, free: 19.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.2071, allocations: 109.4 kB / 415.5 MB, free: 19.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.2072, allocations: 91.27 kB / 415.6 MB, free: 19.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2072, allocations: 0 / 415.6 MB, free: 19.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003595/0.2076, allocations: 4 kB / 415.6 MB, free: 19.75 MB / 298.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.0002743/0.2078, allocations: 253.8 kB / 415.8 MB, free: 19.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 2.631e-05/0.2079, allocations: 0 / 415.8 MB, free: 19.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2079, allocations: 8 kB / 415.8 MB, free: 19.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.2079, allocations: 0 / 415.8 MB, free: 19.51 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.2082, allocations: 0.5254 MB / 416.4 MB, free: 18.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001708/0.2084, allocations: 178 kB / 416.5 MB, free: 18.78 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.974e-05/0.2085, allocations: 0.677 MB / 417.2 MB, free: 18.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.715e-05/0.2085, allocations: 3.984 kB / 417.2 MB, free: 18.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.596e-05/0.2085, allocations: 11.44 kB / 417.2 MB, free: 18.06 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2085, allocations: 0 / 417.2 MB, free: 18.06 MB / 298.7 MB Notification: Performance of Templates: time 0.001876/0.2104, allocations: 0.5223 MB / 417.7 MB, free: 17.55 MB / 298.7 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)