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.5/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.001068/0.001068, allocations: 110 kB / 16.41 MB, free: 6.461 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.001046/0.001045, allocations: 189.5 kB / 17.35 MB, free: 5.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.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.01251/0.01251, allocations: 2.952 MB / 294.2 MB, free: 11.8 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.91 kB / 406.9 MB, free: 28.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07484/0.07605, allocations: 50.34 MB / 457.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.002173/0.07826, allocations: 0.7465 MB / 458 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009915/0.07927, allocations: 0.7388 MB / 458.8 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.07934, allocations: 3.938 kB / 458.8 MB, free: 8.91 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.0002416/0.07961, allocations: 23.92 kB / 458.8 MB, free: 8.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.07974, allocations: 23.86 kB / 458.8 MB, free: 8.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.156e-05/0.07976, allocations: 4 kB / 458.8 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.385e-05/0.07983, allocations: 23.97 kB / 458.8 MB, free: 8.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.07989, allocations: 0 / 458.8 MB, free: 8.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.104e-05/0.07992, allocations: 15.81 kB / 458.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.08003, allocations: 4 kB / 458.9 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.08005, allocations: 4 kB / 458.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.544e-05/0.08011, allocations: 23.92 kB / 458.9 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.08013, allocations: 3.984 kB / 458.9 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.08016, allocations: 11.94 kB / 458.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.08028, allocations: 27.84 kB / 458.9 MB, free: 8.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.0803, allocations: 8 kB / 458.9 MB, free: 8.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.0803, allocations: 0 / 458.9 MB, free: 8.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.08031, allocations: 0 / 458.9 MB, free: 8.738 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.0003297/0.08065, allocations: 335.3 kB / 459.3 MB, free: 8.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.08069, allocations: 11.89 kB / 459.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.08073, allocations: 0.9375 kB / 459.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.08087, allocations: 176.3 kB / 459.5 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.08089, allocations: 4.312 kB / 459.5 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.08091, allocations: 384 / 459.5 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.104e-05/0.08099, allocations: 47.98 kB / 459.5 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.08101, allocations: 192 / 459.5 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.08102, allocations: 7.938 kB / 459.5 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.08103, allocations: 0 / 459.5 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.98e-05/0.08106, allocations: 0 / 459.5 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.08139, allocations: 483.6 kB / 460 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.377e-05/0.08147, allocations: 173.1 kB / 460.2 MB, free: 7.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.08151, allocations: 80.14 kB / 460.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.08154, allocations: 75.28 kB / 460.3 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.08159, allocations: 117.8 kB / 460.4 MB, free: 7.078 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.183e-06/0.08159, allocations: 4 kB / 460.4 MB, free: 7.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.64e-05/0.08167, allocations: 33.66 kB / 460.5 MB, free: 7.035 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.08171, allocations: 51.41 kB / 460.5 MB, free: 6.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.08182, allocations: 113.8 kB / 460.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.08184, allocations: 25.7 kB / 460.6 MB, free: 6.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.08188, allocations: 84.14 kB / 460.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.08189, allocations: 0 / 460.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.08191, allocations: 9.719 kB / 460.7 MB, free: 6.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.08201, allocations: 322.8 kB / 461.1 MB, free: 6.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-06/0.08202, allocations: 0 / 461.1 MB, free: 6.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-06/0.08203, allocations: 0 / 461.1 MB, free: 6.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.988e-05/0.08206, allocations: 79.28 kB / 461.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.19e-05/0.08209, allocations: 79.22 kB / 461.2 MB, free: 6.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.467e-05/0.08215, allocations: 33.58 kB / 461.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.08219, allocations: 83.28 kB / 461.3 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/0.08222, allocations: 79.28 kB / 461.4 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.253e-05/0.08228, allocations: 162.4 kB / 461.6 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.311e-05/0.08231, allocations: 75.28 kB / 461.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.447e-05/0.08236, allocations: 166.9 kB / 461.8 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.08243, allocations: 79.3 kB / 461.9 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.08246, allocations: 75.28 kB / 461.9 MB, free: 5.488 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.0001005/0.08256, allocations: 269 kB / 462.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.08263, allocations: 108.9 kB / 462.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.08268, allocations: 112.5 kB / 462.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.298e-05/0.08274, allocations: 184.2 kB / 462.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-05/0.08277, allocations: 101 kB / 462.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/0.08284, allocations: 186 kB / 462.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.08291, allocations: 184.2 kB / 463.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.08299, allocations: 109 kB / 463.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.08305, allocations: 184.1 kB / 463.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.438e-05/0.08313, allocations: 255.5 kB / 463.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001413/0.08328, allocations: 387 kB / 464 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.592e-05/0.08332, allocations: 101 kB / 464.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.663e-05/0.08338, allocations: 91.27 kB / 464.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of Backend: time 3.1e-07/0.08339, allocations: 0 / 464.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005665/0.08396, allocations: 156.1 kB / 464.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005308/0.0845, allocations: 0.924 MB / 465.2 MB, free: 2.031 MB / 334.1 MB Notification: Performance of Templates: time 0.002603/0.08712, allocations: 0.5553 MB / 465.8 MB, free: 1.48 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)