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.001205/0.001205, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001228/0.001228, allocations: 187 kB / 17.34 MB, free: 5.742 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01334/0.01334, allocations: 2.955 MB / 294.2 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 59.91 kB / 406.9 MB, free: 28.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08817/0.08935, allocations: 50.33 MB / 457.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.00206/0.09145, allocations: 0.7504 MB / 458 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009708/0.09244, allocations: 0.7387 MB / 458.8 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.09249, allocations: 0 / 458.8 MB, free: 8.898 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.0002556/0.09275, allocations: 23.88 kB / 458.8 MB, free: 8.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.09286, allocations: 27.84 kB / 458.8 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.196e-05/0.09289, allocations: 4 kB / 458.8 MB, free: 8.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.567e-05/0.09296, allocations: 19.98 kB / 458.8 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.09301, allocations: 4 kB / 458.8 MB, free: 8.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.177e-05/0.09304, allocations: 7.875 kB / 458.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.09317, allocations: 7.984 kB / 458.9 MB, free: 8.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.09319, allocations: 4 kB / 458.9 MB, free: 8.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.09327, allocations: 19.92 kB / 458.9 MB, free: 8.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.09328, allocations: 0 / 458.9 MB, free: 8.781 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.09332, allocations: 11.94 kB / 458.9 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.09343, allocations: 39.83 kB / 458.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.09344, allocations: 0 / 458.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.09345, allocations: 4 kB / 458.9 MB, free: 8.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.09346, allocations: 0 / 458.9 MB, free: 8.727 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.0003625/0.09383, allocations: 331.5 kB / 459.3 MB, free: 8.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.09387, allocations: 11.89 kB / 459.3 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.09391, allocations: 4.938 kB / 459.3 MB, free: 8.336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.09406, allocations: 176.2 kB / 459.4 MB, free: 8.125 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.09408, allocations: 4.375 kB / 459.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.09409, allocations: 4.375 kB / 459.5 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.465e-05/0.09419, allocations: 47.98 kB / 459.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.09421, allocations: 192 / 459.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.09422, allocations: 3.938 kB / 459.5 MB, free: 8.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.09423, allocations: 0 / 459.5 MB, free: 8.055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.09426, allocations: 7.938 kB / 459.5 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.09463, allocations: 475.7 kB / 460 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.433e-05/0.09472, allocations: 169.1 kB / 460.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.09477, allocations: 80.14 kB / 460.2 MB, free: 7.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.0948, allocations: 79.22 kB / 460.3 MB, free: 7.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.866e-05/0.09487, allocations: 113.8 kB / 460.4 MB, free: 7.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 2.305e-06/0.09487, allocations: 8 kB / 460.4 MB, free: 7.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.257e-05/0.09495, allocations: 29.69 kB / 460.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.09502, allocations: 126.7 kB / 460.6 MB, free: 6.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.09513, allocations: 117.8 kB / 460.7 MB, free: 6.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.09515, allocations: 29.7 kB / 460.7 MB, free: 6.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.0952, allocations: 80.14 kB / 460.8 MB, free: 6.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.0952, allocations: 0 / 460.8 MB, free: 6.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.09523, allocations: 9.719 kB / 460.8 MB, free: 6.633 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.09536, allocations: 330.8 kB / 461.1 MB, free: 6.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-06/0.09537, allocations: 0 / 461.1 MB, free: 6.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-06/0.09538, allocations: 3.938 kB / 461.1 MB, free: 6.297 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.39e-05/0.09541, allocations: 75.28 kB / 461.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.969e-05/0.09548, allocations: 79.22 kB / 461.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.481e-05/0.09554, allocations: 37.55 kB / 461.3 MB, free: 6.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.09558, allocations: 79.28 kB / 461.4 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.09561, allocations: 75.28 kB / 461.5 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.707e-05/0.09569, allocations: 162.5 kB / 461.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.456e-05/0.09572, allocations: 75.28 kB / 461.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.61e-05/0.09581, allocations: 162.6 kB / 461.9 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.09588, allocations: 79.3 kB / 461.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.09595, allocations: 79.28 kB / 462 MB, free: 5.398 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.0001652/0.09612, allocations: 273 kB / 462.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.09618, allocations: 105 kB / 462.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.6e-05/0.09627, allocations: 108.5 kB / 462.5 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.774e-05/0.09634, allocations: 184.2 kB / 462.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.264e-05/0.09641, allocations: 180.3 kB / 462.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.369e-05/0.09648, allocations: 176.3 kB / 463 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.0967, allocations: 417.1 kB / 463.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.244e-05/0.09674, allocations: 101 kB / 463.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.09679, allocations: 108.9 kB / 463.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.316e-05/0.09686, allocations: 180.3 kB / 463.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/0.09692, allocations: 184.2 kB / 464 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.916e-05/0.09699, allocations: 180.3 kB / 464.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.984e-05/0.09705, allocations: 176.3 kB / 464.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.09719, allocations: 315.6 kB / 464.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.114e-05/0.09729, allocations: 186 kB / 464.8 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.459e-05/0.09737, allocations: 184.2 kB / 465 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.09745, allocations: 109 kB / 465.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.09753, allocations: 188.2 kB / 465.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.09757, allocations: 101 kB / 465.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.475e-05/0.09763, allocations: 95.56 kB / 465.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.09764, allocations: 0 / 465.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.09791, allocations: 4 kB / 465.5 MB, free: 1.691 MB / 334.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.0003781/0.09829, allocations: 251.1 kB / 465.7 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.671e-05/0.09835, allocations: 11.92 kB / 465.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.09836, allocations: 0 / 465.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.09836, allocations: 3.938 kB / 465.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.09883, allocations: 463.6 kB / 466.2 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.09916, allocations: 198 kB / 466.4 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.09941, allocations: 0.6805 MB / 467.1 MB, free: 68 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.09944, allocations: 11.42 kB / 467.1 MB, free: 56 kB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09944, allocations: 0 / 467.1 MB, free: 56 kB / 334.1 MB Notification: Performance of Templates: time 0.002292/0.1017, allocations: 0.7228 MB / 467.8 MB, free: 15.33 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)