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.001258/0.001258, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001522/0.001522, allocations: 194.7 kB / 16.14 MB, free: 6.66 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1264/0.1264, allocations: 2.927 MB / 292.9 MB, free: 3.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 56.14 kB / 354 MB, free: 4.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1043, allocations: 50.34 MB / 404.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.003122/0.1075, allocations: 1.603 MB / 405.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1088, allocations: 0.992 MB / 406.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.879e-05/0.1089, allocations: 0 / 406.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.1091, allocations: 27.92 kB / 406.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.1094, allocations: 83.73 kB / 407 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.847e-05/0.1094, allocations: 7.984 kB / 407 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.1095, allocations: 35.86 kB / 407.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.76e-05/0.1096, allocations: 8 kB / 407.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.43e-05/0.1097, allocations: 15.86 kB / 407.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.1098, allocations: 19.92 kB / 407.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.1098, allocations: 3.938 kB / 407.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.11, allocations: 107.9 kB / 407.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.11, allocations: 15.92 kB / 407.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.1101, allocations: 11.88 kB / 407.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1103, allocations: 132 kB / 407.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1103, allocations: 0 / 407.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1103, allocations: 0 / 407.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1103, allocations: 0 / 407.4 MB, free: 15.45 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.0004919/0.1108, allocations: 371.4 kB / 407.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1109, allocations: 12.03 kB / 407.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.1109, allocations: 4.844 kB / 407.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.1111, allocations: 188.2 kB / 407.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1111, allocations: 4.375 kB / 407.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.1111, allocations: 384 / 407.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.1113, allocations: 53.75 kB / 408 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1113, allocations: 4 kB / 408 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1113, allocations: 0 / 408 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.1113, allocations: 3.984 kB / 408 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.181e-05/0.1114, allocations: 19.98 kB / 408 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.1117, allocations: 268.9 kB / 408.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.1119, allocations: 54.55 kB / 408.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.112, allocations: 12.86 kB / 408.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.112, allocations: 3.938 kB / 408.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.112, allocations: 38.56 kB / 408.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.112, allocations: 0 / 408.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000217/0.1123, allocations: 61.77 kB / 408.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.1123, allocations: 51.41 kB / 408.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.1124, allocations: 125.7 kB / 408.6 MB, free: 14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.1124, allocations: 25.7 kB / 408.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.1125, allocations: 92.05 kB / 408.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.1125, allocations: 3.906 kB / 408.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.1125, allocations: 21.72 kB / 408.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.1126, allocations: 319.1 kB / 409.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/0.1127, allocations: 12 kB / 409.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.023e-05/0.1127, allocations: 7.984 kB / 409.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.831e-05/0.1128, allocations: 28.84 kB / 409.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1128, allocations: 3.938 kB / 409.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001051/0.1129, allocations: 53.69 kB / 409.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1129, allocations: 8 kB / 409.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.113, allocations: 3.938 kB / 409.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.113, allocations: 0 / 409.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.47e-05/0.113, allocations: 11.98 kB / 409.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.113, allocations: 0 / 409.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.1131, allocations: 7.844 kB / 409.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1131, allocations: 4 kB / 409.2 MB, free: 13.38 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 6.524e-05/0.1132, allocations: 113.8 kB / 409.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.1132, allocations: 8 kB / 409.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.1132, allocations: 7.891 kB / 409.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1132, allocations: 0 / 409.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1132, allocations: 0 / 409.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1132, allocations: 0 / 409.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.1134, allocations: 169.6 kB / 409.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1134, allocations: 0 / 409.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.1134, allocations: 8 kB / 409.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1135, allocations: 0 / 409.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.1135, allocations: 0 / 409.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1135, allocations: 0 / 409.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1135, allocations: 7.938 kB / 409.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.1136, allocations: 167.6 kB / 409.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.1137, allocations: 77.11 kB / 409.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.1137, allocations: 0 / 409.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.742e-05/0.1138, allocations: 7.984 kB / 409.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.1138, allocations: 0 / 409.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.1138, allocations: 8 kB / 409.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.298e-05/0.1139, allocations: 99.27 kB / 409.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1139, allocations: 0 / 409.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1142, allocations: 43.98 kB / 409.9 MB, free: 12.58 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.0006552/0.1148, allocations: 312.1 kB / 410.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.115, allocations: 35.86 kB / 410.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.115, allocations: 3.938 kB / 410.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.108e-05/0.115, allocations: 15.98 kB / 410.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.1153, allocations: 7.625 kB / 410.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.1157, allocations: 147.7 kB / 410.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.1159, allocations: 0.6926 MB / 411.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.585e-05/0.1159, allocations: 0 / 411.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.116, allocations: 11.44 kB / 411.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.116, allocations: 0 / 411.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Templates: time 0.003565/0.1195, allocations: 1.345 MB / 412.5 MB, free: 10.04 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)