Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.INITest.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/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") translateModel(ExternData.Examples.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006477/0.006477, allocations: 172 kB / 16.26 MB, free: 6.613 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1582/0.1582, allocations: 2.953 MB / 294.4 MB, free: 3.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 8.219 kB / 356.5 MB, free: 3.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1096, allocations: 51.35 MB / 407.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.001848/0.1115, allocations: 1.268 MB / 409.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.1129, allocations: 0.9882 MB / 410.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.113, allocations: 0 / 410.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.1132, allocations: 27.92 kB / 410.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.1135, allocations: 79.73 kB / 410.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.892e-05/0.1135, allocations: 8 kB / 410.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.406e-05/0.1136, allocations: 39.84 kB / 410.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.251e-05/0.1137, allocations: 7.984 kB / 410.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.424e-05/0.1137, allocations: 11.94 kB / 410.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1138, allocations: 15.92 kB / 410.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.1139, allocations: 0 / 410.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.114, allocations: 111.8 kB / 410.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.1141, allocations: 7.922 kB / 410.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.1141, allocations: 37.64 kB / 410.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1143, allocations: 128 kB / 410.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1143, allocations: 7.938 kB / 410.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1144, allocations: 4 kB / 410.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1144, allocations: 0 / 410.6 MB, free: 13.22 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004766/0.1148, allocations: 367.4 kB / 410.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1149, allocations: 8.031 kB / 410.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.1149, allocations: 8.844 kB / 410.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.1151, allocations: 180.2 kB / 411.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.1151, allocations: 4.375 kB / 411.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.1151, allocations: 384 / 411.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.1153, allocations: 53.75 kB / 411.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1153, allocations: 0 / 411.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1153, allocations: 3.984 kB / 411.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1153, allocations: 4 kB / 411.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.954e-05/0.1154, allocations: 27.98 kB / 411.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.1157, allocations: 264.9 kB / 411.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.1159, allocations: 46.56 kB / 411.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.116, allocations: 20.94 kB / 411.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.116, allocations: 4 kB / 411.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.1161, allocations: 34.56 kB / 411.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.1161, allocations: 0 / 411.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002228/0.1163, allocations: 69.67 kB / 411.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.1163, allocations: 55.34 kB / 411.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/0.1164, allocations: 117.8 kB / 411.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.1165, allocations: 25.7 kB / 411.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.1165, allocations: 92.05 kB / 411.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.1165, allocations: 7.891 kB / 411.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.1166, allocations: 9.719 kB / 411.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1167, allocations: 322.8 kB / 412.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-05/0.1167, allocations: 11.98 kB / 412.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-05/0.1168, allocations: 16 kB / 412.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.914e-05/0.1169, allocations: 29.12 kB / 412.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1169, allocations: 0 / 412.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001278/0.117, allocations: 69.88 kB / 412.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.117, allocations: 9.719 kB / 412.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.117, allocations: 7.938 kB / 412.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1171, allocations: 4 kB / 412.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.198e-05/0.1171, allocations: 7.938 kB / 412.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1171, allocations: 0 / 412.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.267e-05/0.1172, allocations: 7.938 kB / 412.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1172, allocations: 7.984 kB / 412.4 MB, free: 11.14 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 (3): * Single equations (assignments): 3 * 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 7.393e-05/0.1173, allocations: 113.8 kB / 412.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.1173, allocations: 4 kB / 412.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.1173, allocations: 7.906 kB / 412.5 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1173, allocations: 4 kB / 412.5 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1173, allocations: 0 / 412.5 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1173, allocations: 0 / 412.5 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.1175, allocations: 169.6 kB / 412.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1175, allocations: 0 / 412.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.1176, allocations: 15.98 kB / 412.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1176, allocations: 0 / 412.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1176, allocations: 0 / 412.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1176, allocations: 0 / 412.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1176, allocations: 0 / 412.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.1178, allocations: 163.3 kB / 412.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.1179, allocations: 85.09 kB / 413 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1179, allocations: 4 kB / 413 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.629e-05/0.1179, allocations: 0 / 413 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.118, allocations: 7.984 kB / 413 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.118, allocations: 0 / 413 MB, free: 10.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.55e-05/0.1181, allocations: 91.28 kB / 413.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1181, allocations: 0 / 413.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1183, allocations: 43.98 kB / 413.1 MB, free: 10.34 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 (3): * Single equations (assignments): 3 * 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.0006871/0.119, allocations: 318.5 kB / 413.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.1192, allocations: 47.83 kB / 413.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1192, allocations: 0 / 413.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.1193, allocations: 12 kB / 413.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.1196, allocations: 11.98 kB / 413.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.1199, allocations: 150.6 kB / 413.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1202, allocations: 0.6848 MB / 414.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.763e-05/0.1202, allocations: 4 kB / 414.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.1203, allocations: 11.44 kB / 414.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1203, allocations: 3.938 kB / 414.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of Templates: time 0.003655/0.1239, allocations: 1.337 MB / 415.7 MB, free: 7.789 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.INITest.makefile (rm -f ExternData_ExternData.Examples.INITest.pipe ; mkfifo ExternData_ExternData.Examples.INITest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest.pipe >> ../files/ExternData_ExternData.Examples.INITest.sim & ./ExternData_ExternData.Examples.INITest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1)