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.001079/0.001079, allocations: 113.3 kB / 16.42 MB, free: 6.496 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.001101/0.001101, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01238/0.01238, allocations: 2.956 MB / 294.2 MB, free: 11.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.89 kB / 406.9 MB, free: 28.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0756/0.07681, allocations: 50.33 MB / 457.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.002658/0.07952, allocations: 0.7543 MB / 458 MB, free: 9.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.08084, allocations: 0.7426 MB / 458.8 MB, free: 8.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.705e-05/0.0809, allocations: 0 / 458.8 MB, free: 8.883 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo:313:3-338:14:writable] Warning: Pure function 'ExternData.TIRFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.08118, allocations: 23.91 kB / 458.8 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.08132, allocations: 27.84 kB / 458.8 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.643e-05/0.08135, allocations: 8 kB / 458.8 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.037e-05/0.08142, allocations: 12 kB / 458.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.08147, allocations: 7.922 kB / 458.9 MB, free: 8.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.404e-05/0.08151, allocations: 7.938 kB / 458.9 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.08165, allocations: 11.98 kB / 458.9 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.08168, allocations: 4 kB / 458.9 MB, free: 8.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.729e-05/0.08174, allocations: 11.94 kB / 458.9 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.08177, allocations: 7.984 kB / 458.9 MB, free: 8.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.08181, allocations: 7.938 kB / 458.9 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.08194, allocations: 35.84 kB / 458.9 MB, free: 8.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.08197, allocations: 8 kB / 458.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.08198, allocations: 0 / 458.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.08199, allocations: 0 / 458.9 MB, free: 8.711 MB / 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.0004011/0.0824, allocations: 335.5 kB / 459.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.08245, allocations: 11.89 kB / 459.3 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.0825, allocations: 0.9375 kB / 459.3 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.08268, allocations: 176.2 kB / 459.5 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.0827, allocations: 384 / 459.5 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-06/0.08272, allocations: 384 / 459.5 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.647e-05/0.08283, allocations: 47.98 kB / 459.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.08285, allocations: 192 / 459.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.08287, allocations: 7.938 kB / 459.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.08288, allocations: 0 / 459.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.167e-05/0.08291, allocations: 3.938 kB / 459.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.08332, allocations: 475.7 kB / 460 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.778e-05/0.08342, allocations: 173.1 kB / 460.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/0.08348, allocations: 84.14 kB / 460.2 MB, free: 7.254 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.08352, allocations: 79.22 kB / 460.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.08357, allocations: 105.8 kB / 460.4 MB, free: 7.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.08359, allocations: 4 kB / 460.4 MB, free: 7.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 9.853e-05/0.08369, allocations: 33.69 kB / 460.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.08374, allocations: 51.41 kB / 460.5 MB, free: 6.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.08389, allocations: 121.7 kB / 460.6 MB, free: 6.828 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.08392, allocations: 25.7 kB / 460.6 MB, free: 6.797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.08398, allocations: 88.14 kB / 460.7 MB, free: 6.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.08399, allocations: 0 / 460.7 MB, free: 6.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.08403, allocations: 9.719 kB / 460.7 MB, free: 6.691 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.08418, allocations: 314.8 kB / 461 MB, free: 6.375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-06/0.08419, allocations: 0 / 461 MB, free: 6.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-06/0.0842, allocations: 3.938 kB / 461.1 MB, free: 6.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.259e-05/0.08424, allocations: 79.28 kB / 461.1 MB, free: 6.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-05/0.08429, allocations: 75.28 kB / 461.2 MB, free: 6.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001014/0.0844, allocations: 41.47 kB / 461.2 MB, free: 6.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.08445, allocations: 83.28 kB / 461.3 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.949e-05/0.0845, allocations: 75.28 kB / 461.4 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.389e-05/0.08458, allocations: 162.5 kB / 461.6 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.742e-05/0.08463, allocations: 75.28 kB / 461.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.92e-05/0.0847, allocations: 158.6 kB / 461.8 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.08483, allocations: 79.3 kB / 461.9 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.08487, allocations: 79.27 kB / 461.9 MB, free: 5.469 MB / 334.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.0001423/0.08502, allocations: 273 kB / 462.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.834e-05/0.08513, allocations: 109 kB / 462.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.301e-05/0.0852, allocations: 108.5 kB / 462.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.01e-05/0.08529, allocations: 180.2 kB / 462.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.346e-05/0.08535, allocations: 105 kB / 462.7 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.963e-05/0.08545, allocations: 190 kB / 462.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.371e-05/0.08556, allocations: 184.2 kB / 463.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.08569, allocations: 105 kB / 463.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/0.08578, allocations: 188.1 kB / 463.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001108/0.08591, allocations: 259.5 kB / 463.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00021/0.08612, allocations: 383 kB / 464 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.266e-05/0.08619, allocations: 105 kB / 464.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.073e-05/0.08628, allocations: 87.28 kB / 464.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of Backend: time 7.22e-07/0.08629, allocations: 3.938 kB / 464.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008518/0.08715, allocations: 157.6 kB / 464.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006572/0.08782, allocations: 0.9302 MB / 465.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of Templates: time 0.00333/0.09117, allocations: 0.5515 MB / 465.8 MB, free: 1.453 MB / 334.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)