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.0007792/0.0007792, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008502/0.0008502, allocations: 178.9 kB / 16.92 MB, free: 6.652 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.35/1.35, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1215/0.1215, allocations: 2.946 MB / 295 MB, free: 3.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.0003059, allocations: 8 kB / 357.1 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08211/0.08243, allocations: 51.34 MB / 408.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.0009919/0.08345, allocations: 489.1 kB / 409 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009025/0.08438, allocations: 0.715 MB / 409.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.755e-05/0.08441, allocations: 0 / 409.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.0846, allocations: 19.94 kB / 409.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.08473, allocations: 23.91 kB / 409.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.237e-06/0.08475, allocations: 4 kB / 409.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.349e-05/0.0848, allocations: 19.88 kB / 409.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.08484, allocations: 4 kB / 409.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.788e-05/0.08487, allocations: 4 kB / 409.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.075e-05/0.08496, allocations: 15.91 kB / 409.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.604e-06/0.08498, allocations: 0 / 409.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.272e-05/0.08503, allocations: 12 kB / 409.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.776e-06/0.08504, allocations: 0 / 409.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.08508, allocations: 37.64 kB / 409.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.465e-05/0.08516, allocations: 27.95 kB / 409.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.08517, allocations: 0 / 409.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.08518, allocations: 0 / 409.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.08519, allocations: 4 kB / 409.8 MB, free: 14.52 MB / 350.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.0002671/0.08546, allocations: 330 kB / 410.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.0855, allocations: 12.03 kB / 410.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.08553, allocations: 8.859 kB / 410.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.08567, allocations: 172.3 kB / 410.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.08569, allocations: 384 / 410.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-06/0.0857, allocations: 4.312 kB / 410.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.08581, allocations: 51.97 kB / 410.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.08582, allocations: 192 / 410.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.08584, allocations: 3.938 kB / 410.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.08585, allocations: 7.984 kB / 410.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.619e-05/0.08587, allocations: 3.938 kB / 410.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.08618, allocations: 471.7 kB / 410.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.275e-05/0.08627, allocations: 173.1 kB / 411 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.08631, allocations: 92.11 kB / 411.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.08634, allocations: 75.28 kB / 411.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.08638, allocations: 109.8 kB / 411.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.08639, allocations: 0 / 411.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.095e-05/0.08645, allocations: 29.7 kB / 411.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.08654, allocations: 130.7 kB / 411.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.843e-05/0.08665, allocations: 117.8 kB / 411.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.08668, allocations: 25.7 kB / 411.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.08671, allocations: 84.12 kB / 411.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.08672, allocations: 3.938 kB / 411.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.08674, allocations: 9.719 kB / 411.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.08684, allocations: 322.8 kB / 412 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-06/0.08685, allocations: 4 kB / 412 MB, free: 12.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-06/0.08686, allocations: 0 / 412 MB, free: 12.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.455e-05/0.0869, allocations: 75.28 kB / 412.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.322e-05/0.08693, allocations: 79.22 kB / 412.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.467e-05/0.08699, allocations: 33.61 kB / 412.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.08702, allocations: 79.28 kB / 412.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.092e-05/0.08706, allocations: 83.22 kB / 412.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-05/0.08711, allocations: 154.5 kB / 412.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.724e-05/0.08715, allocations: 79.28 kB / 412.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.603e-05/0.0872, allocations: 158.5 kB / 412.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.08728, allocations: 79.28 kB / 412.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.0873, allocations: 79.22 kB / 412.9 MB, free: 11.2 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.0001374/0.08745, allocations: 260.3 kB / 413.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.02e-05/0.08751, allocations: 109 kB / 413.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.08756, allocations: 112.5 kB / 413.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-05/0.08762, allocations: 180.2 kB / 413.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.438e-05/0.08768, allocations: 184.2 kB / 413.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-05/0.08773, allocations: 180.2 kB / 413.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.08794, allocations: 417.1 kB / 414.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/0.08799, allocations: 105 kB / 414.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.08802, allocations: 104.9 kB / 414.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.695e-05/0.08809, allocations: 180.3 kB / 414.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.884e-05/0.08815, allocations: 184.2 kB / 414.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.766e-05/0.0882, allocations: 184.2 kB / 415.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-05/0.08826, allocations: 184.6 kB / 415.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.08839, allocations: 315.7 kB / 415.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.08847, allocations: 186 kB / 415.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.08857, allocations: 176.3 kB / 415.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.792e-05/0.08865, allocations: 105 kB / 416 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.08871, allocations: 188.2 kB / 416.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.08875, allocations: 105 kB / 416.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.107e-05/0.08881, allocations: 87.28 kB / 416.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08881, allocations: 0 / 416.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.08908, allocations: 4 kB / 416.4 MB, free: 7.504 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.0003313/0.08941, allocations: 247.9 kB / 416.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.735e-05/0.08949, allocations: 11.94 kB / 416.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.0895, allocations: 0 / 416.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.08951, allocations: 0 / 416.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.08994, allocations: 0.5263 MB / 417.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/0.09017, allocations: 207.7 kB / 417.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.09043, allocations: 0.6809 MB / 418 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.09045, allocations: 7.438 kB / 418.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.09046, allocations: 0 / 418.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of Templates: time 0.001808/0.09227, allocations: 0.7113 MB / 418.8 MB, free: 5.078 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)