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.0009962/0.0009963, allocations: 104.3 kB / 16.41 MB, free: 6.457 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.001054/0.001054, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01193/0.01193, allocations: 2.955 MB / 294.2 MB, free: 11.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 59.91 kB / 406.9 MB, free: 28.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08055/0.08173, allocations: 50.33 MB / 457.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001883/0.08365, allocations: 0.7543 MB / 458 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000831/0.08449, allocations: 0.7387 MB / 458.8 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.08454, allocations: 0 / 458.8 MB, free: 8.867 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.0002037/0.08475, allocations: 27.91 kB / 458.8 MB, free: 8.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.019e-05/0.08485, allocations: 27.84 kB / 458.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.288e-06/0.08487, allocations: 4 kB / 458.8 MB, free: 8.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.14e-05/0.08492, allocations: 15.94 kB / 458.8 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.08496, allocations: 3.984 kB / 458.8 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.091e-05/0.08499, allocations: 15.92 kB / 458.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.927e-05/0.08509, allocations: 4 kB / 458.9 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.08511, allocations: 0 / 458.9 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.416e-05/0.08516, allocations: 19.94 kB / 458.9 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.08518, allocations: 3.984 kB / 458.9 MB, free: 8.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.773e-05/0.0852, allocations: 7.938 kB / 458.9 MB, free: 8.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.435e-05/0.0853, allocations: 35.84 kB / 458.9 MB, free: 8.703 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.08531, allocations: 4 kB / 458.9 MB, free: 8.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.08532, allocations: 4 kB / 458.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.08533, allocations: 3.938 kB / 458.9 MB, free: 8.691 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.0002993/0.08564, allocations: 335.5 kB / 459.3 MB, free: 8.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.08568, allocations: 11.89 kB / 459.3 MB, free: 8.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.08571, allocations: 4.875 kB / 459.3 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.08583, allocations: 176.3 kB / 459.4 MB, free: 8.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.08585, allocations: 384 / 459.4 MB, free: 8.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.08586, allocations: 4.375 kB / 459.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.933e-05/0.08594, allocations: 39.98 kB / 459.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.08596, allocations: 4.188 kB / 459.5 MB, free: 8.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.08597, allocations: 3.938 kB / 459.5 MB, free: 8.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.08598, allocations: 0 / 459.5 MB, free: 8.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.618e-05/0.086, allocations: 7.938 kB / 459.5 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.08631, allocations: 475.7 kB / 460 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.219e-05/0.08639, allocations: 173.1 kB / 460.1 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.08642, allocations: 84.08 kB / 460.2 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.08645, allocations: 75.28 kB / 460.3 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.0865, allocations: 105.8 kB / 460.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.0865, allocations: 4 kB / 460.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.201e-05/0.08657, allocations: 29.7 kB / 460.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.08663, allocations: 130.7 kB / 460.6 MB, free: 6.863 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.08673, allocations: 117.8 kB / 460.7 MB, free: 6.738 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.08675, allocations: 25.7 kB / 460.7 MB, free: 6.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.08678, allocations: 88.14 kB / 460.8 MB, free: 6.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-06/0.08679, allocations: 0 / 460.8 MB, free: 6.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.08682, allocations: 9.719 kB / 460.8 MB, free: 6.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.08692, allocations: 318.8 kB / 461.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-06/0.08692, allocations: 0 / 461.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.344e-06/0.08693, allocations: 0 / 461.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.306e-05/0.08696, allocations: 83.28 kB / 461.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.3e-05/0.08699, allocations: 79.22 kB / 461.3 MB, free: 6.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.961e-05/0.08705, allocations: 41.53 kB / 461.3 MB, free: 6.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.08708, allocations: 79.28 kB / 461.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.08711, allocations: 79.22 kB / 461.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.618e-05/0.08717, allocations: 154.6 kB / 461.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.384e-05/0.0872, allocations: 83.28 kB / 461.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.844e-05/0.08725, allocations: 154.6 kB / 461.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.539e-05/0.08733, allocations: 79.3 kB / 461.9 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.08736, allocations: 87.2 kB / 462 MB, free: 5.367 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.0001023/0.08747, allocations: 273 kB / 462.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.08752, allocations: 101 kB / 462.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.08758, allocations: 108.5 kB / 462.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-05/0.08763, allocations: 184.2 kB / 462.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.079e-05/0.0877, allocations: 184.2 kB / 462.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.476e-05/0.08776, allocations: 180.2 kB / 463 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.08797, allocations: 413.2 kB / 463.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.809e-05/0.08801, allocations: 105 kB / 463.5 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.08805, allocations: 104.9 kB / 463.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.436e-05/0.0881, allocations: 180.2 kB / 463.8 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.907e-05/0.08816, allocations: 180.2 kB / 464 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.473e-05/0.08822, allocations: 184.3 kB / 464.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.538e-05/0.08828, allocations: 184.2 kB / 464.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.0884, allocations: 307.7 kB / 464.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.08847, allocations: 186 kB / 464.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.569e-05/0.08855, allocations: 180.3 kB / 465 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.08862, allocations: 113 kB / 465.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.08869, allocations: 180.2 kB / 465.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.08873, allocations: 105 kB / 465.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.248e-05/0.08879, allocations: 99.56 kB / 465.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0888, allocations: 0 / 465.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.08904, allocations: 4 kB / 465.5 MB, free: 1.66 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.000338/0.08939, allocations: 254.2 kB / 465.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 3.956e-05/0.08944, allocations: 3.938 kB / 465.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.08945, allocations: 0 / 465.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.08945, allocations: 3.938 kB / 465.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.08992, allocations: 467.6 kB / 466.2 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/0.09017, allocations: 194.1 kB / 466.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.0904, allocations: 0.6805 MB / 467.1 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.09043, allocations: 11.44 kB / 467.1 MB, free: 28 kB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09043, allocations: 0 / 467.1 MB, free: 28 kB / 334.1 MB Notification: Performance of Templates: time 0.001845/0.09228, allocations: 0.7269 MB / 467.8 MB, free: 15.3 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)