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-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.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.001121/0.001121, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001129/0.001128, allocations: 192.1 kB / 17.31 MB, free: 5.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.328/1.328, 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.0128/0.0128, allocations: 2.954 MB / 294.1 MB, free: 11.8 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 60.09 kB / 356.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2191, allocations: 50.33 MB / 406.5 MB, free: 32.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002921/0.2221, allocations: 1.555 MB / 408 MB, free: 30.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2236, allocations: 1.008 MB / 409 MB, free: 29.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-05/0.2237, allocations: 4 kB / 409 MB, free: 29.92 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo:79:3-102:14:writable] Warning: Pure function 'ExternData.INIFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.224, allocations: 23.84 kB / 409 MB, free: 29.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004181/0.2244, allocations: 103.6 kB / 409.1 MB, free: 29.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.198e-05/0.2244, allocations: 8.719 kB / 409.2 MB, free: 29.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.659e-05/0.2245, allocations: 39.78 kB / 409.2 MB, free: 29.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.816e-05/0.2246, allocations: 16 kB / 409.2 MB, free: 29.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.145e-05/0.2247, allocations: 11.94 kB / 409.2 MB, free: 29.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.2248, allocations: 19.91 kB / 409.2 MB, free: 29.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.2249, allocations: 7.938 kB / 409.2 MB, free: 29.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.2251, allocations: 107.9 kB / 409.3 MB, free: 29.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.2251, allocations: 15.92 kB / 409.4 MB, free: 29.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.2251, allocations: 15.88 kB / 409.4 MB, free: 29.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.2254, allocations: 119.7 kB / 409.5 MB, free: 29.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.2254, allocations: 0 / 409.5 MB, free: 29.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2254, allocations: 4 kB / 409.5 MB, free: 29.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.2255, allocations: 0 / 409.5 MB, free: 29.43 MB / 302.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.0004749/0.2259, allocations: 379.2 kB / 409.9 MB, free: 29.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.226, allocations: 15.83 kB / 409.9 MB, free: 29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.226, allocations: 8.844 kB / 409.9 MB, free: 29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.2262, allocations: 186.1 kB / 410.1 MB, free: 28.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.2263, allocations: 384 / 410.1 MB, free: 28.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.2263, allocations: 4.375 kB / 410.1 MB, free: 28.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.2264, allocations: 57.75 kB / 410.1 MB, free: 28.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2264, allocations: 0 / 410.1 MB, free: 28.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.2264, allocations: 0 / 410.1 MB, free: 28.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2265, allocations: 4 kB / 410.1 MB, free: 28.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.418e-05/0.2265, allocations: 19.98 kB / 410.2 MB, free: 28.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.2269, allocations: 264.9 kB / 410.4 MB, free: 28.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.2271, allocations: 54.56 kB / 410.5 MB, free: 28.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.2271, allocations: 8.859 kB / 410.5 MB, free: 28.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.2271, allocations: 0 / 410.5 MB, free: 28.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.2272, allocations: 38.56 kB / 410.5 MB, free: 28.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2272, allocations: 0 / 410.5 MB, free: 28.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002039/0.2274, allocations: 57.77 kB / 410.6 MB, free: 28.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.2274, allocations: 63.34 kB / 410.6 MB, free: 28.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.357e-05/0.2275, allocations: 121.8 kB / 410.8 MB, free: 27.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.2275, allocations: 25.7 kB / 410.8 MB, free: 27.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/0.2275, allocations: 88.05 kB / 410.9 MB, free: 27.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.2276, allocations: 7.906 kB / 410.9 MB, free: 27.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.2276, allocations: 17.72 kB / 410.9 MB, free: 27.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.2e-05/0.2277, allocations: 319.1 kB / 411.2 MB, free: 27.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.605e-05/0.2277, allocations: 8 kB / 411.2 MB, free: 27.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.2277, allocations: 15.98 kB / 411.2 MB, free: 27.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.072e-05/0.2278, allocations: 28.84 kB / 411.3 MB, free: 27.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2278, allocations: 3.938 kB / 411.3 MB, free: 27.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001003/0.2279, allocations: 57.53 kB / 411.3 MB, free: 27.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2279, allocations: 8 kB / 411.3 MB, free: 27.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.2279, allocations: 0 / 411.3 MB, free: 27.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.228, allocations: 0 / 411.3 MB, free: 27.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.086e-05/0.228, allocations: 7.984 kB / 411.3 MB, free: 27.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.228, allocations: 4 kB / 411.3 MB, free: 27.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/0.228, allocations: 4 kB / 411.3 MB, free: 27.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.2281, allocations: 3.938 kB / 411.3 MB, free: 27.37 MB / 302.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 5.084e-05/0.2281, allocations: 117.8 kB / 411.5 MB, free: 27.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.2281, allocations: 0 / 411.5 MB, free: 27.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.2282, allocations: 11.89 kB / 411.5 MB, free: 27.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2282, allocations: 336 / 411.5 MB, free: 27.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2282, allocations: 0 / 411.5 MB, free: 27.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2282, allocations: 0 / 411.5 MB, free: 27.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.2283, allocations: 173.6 kB / 411.6 MB, free: 27.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2283, allocations: 4 kB / 411.6 MB, free: 27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.2284, allocations: 7.984 kB / 411.7 MB, free: 27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2284, allocations: 4 kB / 411.7 MB, free: 26.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.2284, allocations: 0 / 411.7 MB, free: 26.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.2284, allocations: 0 / 411.7 MB, free: 26.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2284, allocations: 0 / 411.7 MB, free: 26.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.2285, allocations: 167.3 kB / 411.8 MB, free: 26.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.2286, allocations: 77.11 kB / 411.9 MB, free: 26.72 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.2286, allocations: 3.984 kB / 411.9 MB, free: 26.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.457e-05/0.2286, allocations: 4 kB / 411.9 MB, free: 26.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.2287, allocations: 4 kB / 411.9 MB, free: 26.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.2287, allocations: 0 / 411.9 MB, free: 26.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.953e-05/0.2287, allocations: 91.27 kB / 412 MB, free: 26.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2287, allocations: 4 kB / 412 MB, free: 26.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000278/0.229, allocations: 35.98 kB / 412 MB, free: 26.58 MB / 302.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.0006165/0.2296, allocations: 333.2 kB / 412.4 MB, free: 26.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.2298, allocations: 31.86 kB / 412.4 MB, free: 26.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2298, allocations: 0 / 412.4 MB, free: 26.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.2298, allocations: 15.98 kB / 412.4 MB, free: 26.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.2301, allocations: 6.969 kB / 412.4 MB, free: 26.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.2304, allocations: 145.9 kB / 412.6 MB, free: 26.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.2305, allocations: 0.6846 MB / 413.2 MB, free: 25.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.572e-05/0.2305, allocations: 4 kB / 413.2 MB, free: 25.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.2305, allocations: 7.438 kB / 413.3 MB, free: 25.39 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2305, allocations: 4 kB / 413.3 MB, free: 25.39 MB / 302.1 MB Notification: Performance of Templates: time 0.003522/0.2341, allocations: 1.39 MB / 414.6 MB, free: 24 MB / 302.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 -s cvode -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1)