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.001082/0.001082, allocations: 92.16 kB / 16.02 MB, free: 76 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.001653/0.001653, allocations: 182.9 kB / 16.92 MB, free: 6.926 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.492/1.492, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1513/0.1513, allocations: 2.942 MB / 295 MB, free: 3.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003577, allocations: 12 kB / 357.1 MB, free: 3.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.09565, allocations: 51.36 MB / 408.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001078/0.09676, allocations: 485 kB / 409 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009564/0.09774, allocations: 0.7112 MB / 409.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.09779, allocations: 0 / 409.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.098, allocations: 23.94 kB / 409.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.706e-05/0.09811, allocations: 23.91 kB / 409.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.758e-06/0.09813, allocations: 0 / 409.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.174e-05/0.09818, allocations: 19.88 kB / 409.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.496e-05/0.09823, allocations: 0 / 409.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.393e-05/0.09826, allocations: 8 kB / 409.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.09839, allocations: 19.91 kB / 409.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.09841, allocations: 0 / 409.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.13e-05/0.09847, allocations: 12 kB / 409.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.267e-06/0.09849, allocations: 0 / 409.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.09853, allocations: 33.64 kB / 409.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.186e-05/0.09862, allocations: 27.95 kB / 409.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.09864, allocations: 0 / 409.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09864, allocations: 0 / 409.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.09865, allocations: 0 / 409.8 MB, free: 14.62 MB / 350.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.0002906/0.09895, allocations: 335.7 kB / 410.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.09899, allocations: 15.97 kB / 410.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.09903, allocations: 4.922 kB / 410.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.09917, allocations: 168.3 kB / 410.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.0992, allocations: 4.312 kB / 410.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.09921, allocations: 4.375 kB / 410.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.027e-05/0.0993, allocations: 43.97 kB / 410.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.09931, allocations: 4.188 kB / 410.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.09933, allocations: 3.938 kB / 410.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.09934, allocations: 4 kB / 410.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.926e-05/0.09937, allocations: 3.938 kB / 410.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.0997, allocations: 471.7 kB / 410.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.409e-05/0.09978, allocations: 181 kB / 411.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.09982, allocations: 92.11 kB / 411.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.09985, allocations: 75.28 kB / 411.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.0999, allocations: 105.8 kB / 411.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.432e-06/0.0999, allocations: 0 / 411.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.517e-05/0.09998, allocations: 29.7 kB / 411.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.1, allocations: 126.7 kB / 411.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.1002, allocations: 117.8 kB / 411.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.1002, allocations: 25.7 kB / 411.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.1002, allocations: 92.12 kB / 411.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.1002, allocations: 0 / 411.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/0.1003, allocations: 13.66 kB / 411.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.918e-05/0.1004, allocations: 310.8 kB / 412 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.436e-06/0.1004, allocations: 0 / 412 MB, free: 12.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-06/0.1004, allocations: 0 / 412 MB, free: 12.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.572e-05/0.1004, allocations: 75.28 kB / 412.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.178e-05/0.1004, allocations: 83.22 kB / 412.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.691e-05/0.1005, allocations: 33.61 kB / 412.2 MB, free: 12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.1005, allocations: 87.28 kB / 412.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/0.1006, allocations: 79.22 kB / 412.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-05/0.1006, allocations: 154.5 kB / 412.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.344e-05/0.1006, allocations: 75.28 kB / 412.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.253e-05/0.1007, allocations: 158.5 kB / 412.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.1008, allocations: 79.28 kB / 412.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.1008, allocations: 79.22 kB / 412.9 MB, free: 11.3 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.0001045/0.1009, allocations: 264.3 kB / 413.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.101, allocations: 105 kB / 413.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.101, allocations: 108.5 kB / 413.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.889e-05/0.1011, allocations: 192.1 kB / 413.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.977e-05/0.1012, allocations: 176.3 kB / 413.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.098e-05/0.1012, allocations: 184.2 kB / 413.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.1014, allocations: 413.1 kB / 414.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.255e-05/0.1015, allocations: 105 kB / 414.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.1015, allocations: 116.9 kB / 414.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.187e-05/0.1016, allocations: 176.3 kB / 414.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.1016, allocations: 180.2 kB / 414.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-05/0.1017, allocations: 180.2 kB / 415.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.132e-05/0.1017, allocations: 184.6 kB / 415.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.1019, allocations: 319.7 kB / 415.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.1019, allocations: 190 kB / 415.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/0.102, allocations: 180.3 kB / 415.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.1021, allocations: 104.9 kB / 416 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.1021, allocations: 176.3 kB / 416.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.1022, allocations: 112.9 kB / 416.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.611e-05/0.1023, allocations: 91.28 kB / 416.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1023, allocations: 0 / 416.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1025, allocations: 8 kB / 416.4 MB, free: 7.586 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.0003689/0.1029, allocations: 252.7 kB / 416.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 3.459e-05/0.103, allocations: 0 / 416.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.103, allocations: 0 / 416.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.103, allocations: 0 / 416.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.1034, allocations: 0.5302 MB / 417.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.1037, allocations: 203.7 kB / 417.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.1039, allocations: 0.677 MB / 418 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.1039, allocations: 7.438 kB / 418.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1039, allocations: 4 kB / 418.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of Templates: time 0.002024/0.106, allocations: 0.7109 MB / 418.8 MB, free: 5.168 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)