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/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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.001248/0.001248, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 193.2 kB / 16.13 MB, free: 6.711 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.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1123/0.1123, allocations: 2.941 MB / 292.9 MB, free: 3.199 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 63.89 kB / 354 MB, free: 4.176 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07681/0.07789, allocations: 50.33 MB / 404.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001905/0.07982, allocations: 0.8154 MB / 405.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007639/0.0806, allocations: 0.715 MB / 405.8 MB, free: 268 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.752e-05/0.08063, allocations: 0 / 405.8 MB, free: 268 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.08081, allocations: 23.94 kB / 405.9 MB, free: 244 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.855e-05/0.0809, allocations: 23.91 kB / 405.9 MB, free: 220 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.288e-06/0.08091, allocations: 4 kB / 405.9 MB, free: 216 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.029e-05/0.08096, allocations: 15.88 kB / 405.9 MB, free: 200 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.903e-05/0.08099, allocations: 4 kB / 405.9 MB, free: 196 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.569e-05/0.08101, allocations: 3.984 kB / 405.9 MB, free: 192 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.4e-05/0.0811, allocations: 19.92 kB / 405.9 MB, free: 172 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.414e-06/0.08112, allocations: 0 / 405.9 MB, free: 172 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.778e-05/0.08116, allocations: 11.94 kB / 405.9 MB, free: 160 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.018e-05/0.08117, allocations: 7.938 kB / 406 MB, free: 152 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.0812, allocations: 7.922 kB / 406 MB, free: 144 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.806e-05/0.08128, allocations: 31.91 kB / 406 MB, free: 112 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.0813, allocations: 4 kB / 406 MB, free: 108 kB / 334.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.0813, allocations: 0 / 406 MB, free: 108 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.08131, allocations: 4 kB / 406 MB, free: 104 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.0002814/0.0816, allocations: 341.6 kB / 406.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.08163, allocations: 8.031 kB / 406.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.08166, allocations: 4.938 kB / 406.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.08178, allocations: 168.3 kB / 406.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-06/0.08179, allocations: 384 / 406.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.08181, allocations: 384 / 406.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.988e-05/0.08188, allocations: 51.97 kB / 406.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.08189, allocations: 4.125 kB / 406.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.08191, allocations: 7.938 kB / 406.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.08191, allocations: 0 / 406.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.257e-05/0.08193, allocations: 0 / 406.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.08221, allocations: 475.7 kB / 407 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.022e-05/0.08229, allocations: 177 kB / 407.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.08232, allocations: 80.14 kB / 407.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.08235, allocations: 75.31 kB / 407.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.08239, allocations: 113.8 kB / 407.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.0824, allocations: 7.938 kB / 407.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 5.767e-05/0.08246, allocations: 33.64 kB / 407.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.08251, allocations: 126.7 kB / 407.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.086e-05/0.08261, allocations: 121.7 kB / 407.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.946e-06/0.08263, allocations: 25.7 kB / 407.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.08267, allocations: 84.14 kB / 407.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.322e-06/0.08267, allocations: 0 / 407.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.08269, allocations: 9.719 kB / 407.9 MB, free: 14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.556e-05/0.08278, allocations: 318.8 kB / 408.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.399e-06/0.08279, allocations: 4 kB / 408.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-06/0.0828, allocations: 0 / 408.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.156e-05/0.08283, allocations: 75.28 kB / 408.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.642e-05/0.08286, allocations: 83.22 kB / 408.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.095e-05/0.08291, allocations: 29.69 kB / 408.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.08294, allocations: 87.22 kB / 408.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/0.08298, allocations: 79.28 kB / 408.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.936e-05/0.08303, allocations: 150.6 kB / 408.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.956e-05/0.08307, allocations: 83.22 kB / 408.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.939e-05/0.08311, allocations: 154.6 kB / 408.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.423e-05/0.08319, allocations: 83.16 kB / 409 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.08322, allocations: 75.28 kB / 409.1 MB, free: 12.79 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.0001069/0.08333, allocations: 272.3 kB / 409.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.08339, allocations: 101 kB / 409.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.08344, allocations: 116.5 kB / 409.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.957e-05/0.08349, allocations: 176.3 kB / 409.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.247e-05/0.08355, allocations: 180.2 kB / 409.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.622e-05/0.08361, allocations: 184.2 kB / 410.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.08381, allocations: 409.2 kB / 410.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.695e-05/0.08385, allocations: 112.9 kB / 410.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.08389, allocations: 105 kB / 410.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.792e-05/0.08395, allocations: 184.2 kB / 410.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/0.08401, allocations: 180.2 kB / 411 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.766e-05/0.08407, allocations: 184.6 kB / 411.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.861e-05/0.08415, allocations: 180.2 kB / 411.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.08426, allocations: 315.7 kB / 411.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.08434, allocations: 182.1 kB / 411.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.0844, allocations: 188.2 kB / 412.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.08448, allocations: 104.9 kB / 412.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.08453, allocations: 184.2 kB / 412.4 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.08457, allocations: 104.9 kB / 412.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.703e-05/0.08463, allocations: 91.59 kB / 412.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08463, allocations: 0 / 412.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.08487, allocations: 7.984 kB / 412.6 MB, free: 9.074 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.0002989/0.08517, allocations: 256.7 kB / 412.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 2.404e-05/0.08521, allocations: 0 / 412.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.08521, allocations: 0 / 412.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.08522, allocations: 0 / 412.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.08562, allocations: 0.5302 MB / 413.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001907/0.08582, allocations: 178 kB / 413.5 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.08603, allocations: 0.677 MB / 414.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.627e-05/0.08605, allocations: 3.938 kB / 414.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.08608, allocations: 11.44 kB / 414.2 MB, free: 7.383 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.08608, allocations: 3.938 kB / 414.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of Templates: time 0.002141/0.08822, allocations: 0.5226 MB / 414.7 MB, free: 6.859 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)