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.5/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.0013/0.0013, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.00123/0.00123, allocations: 193.3 kB / 16.91 MB, free: 6.195 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.409/1.409, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.0154/0.0154, allocations: 2.952 MB / 293.7 MB, free: 12.08 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002552/0.002552, allocations: 67.89 kB / 354.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2445, allocations: 50.34 MB / 405.2 MB, free: 32.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002344/0.2469, allocations: 1.603 MB / 406.8 MB, free: 31.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2479, allocations: 0.9998 MB / 407.8 MB, free: 30.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.248, allocations: 0 / 407.8 MB, free: 30.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.2482, allocations: 27.92 kB / 407.8 MB, free: 30.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.2485, allocations: 91.72 kB / 407.9 MB, free: 30.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.437e-05/0.2485, allocations: 4 kB / 407.9 MB, free: 30.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.526e-05/0.2486, allocations: 31.86 kB / 407.9 MB, free: 30.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.474e-05/0.2487, allocations: 12 kB / 407.9 MB, free: 30.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.375e-05/0.2487, allocations: 19.91 kB / 408 MB, free: 30.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.2489, allocations: 27.86 kB / 408 MB, free: 30.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.2489, allocations: 0 / 408 MB, free: 30.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.249, allocations: 111.9 kB / 408.1 MB, free: 29.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.2491, allocations: 0 / 408.1 MB, free: 29.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.2491, allocations: 15.88 kB / 408.1 MB, free: 29.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.2492, allocations: 89.86 kB / 408.2 MB, free: 29.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2492, allocations: 7.922 kB / 408.2 MB, free: 29.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2492, allocations: 4 kB / 408.2 MB, free: 29.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.2493, allocations: 0 / 408.2 MB, free: 29.8 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.0003682/0.2496, allocations: 379.3 kB / 408.6 MB, free: 29.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.2497, allocations: 11.89 kB / 408.6 MB, free: 29.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.2497, allocations: 8.844 kB / 408.6 MB, free: 29.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2498, allocations: 180.2 kB / 408.8 MB, free: 29.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.2499, allocations: 4.375 kB / 408.8 MB, free: 29.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.2499, allocations: 4.375 kB / 408.8 MB, free: 29.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.25, allocations: 45.81 kB / 408.8 MB, free: 29.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.25, allocations: 0 / 408.8 MB, free: 29.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.25, allocations: 0 / 408.8 MB, free: 29.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.25, allocations: 4 kB / 408.8 MB, free: 29.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.432e-05/0.2501, allocations: 27.92 kB / 408.9 MB, free: 29.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.2504, allocations: 264.9 kB / 409.1 MB, free: 28.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.2505, allocations: 46.61 kB / 409.2 MB, free: 28.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.152e-05/0.2506, allocations: 20.94 kB / 409.2 MB, free: 28.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.2506, allocations: 7.938 kB / 409.2 MB, free: 28.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.2506, allocations: 34.5 kB / 409.2 MB, free: 28.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.2506, allocations: 0 / 409.2 MB, free: 28.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001868/0.2508, allocations: 61.67 kB / 409.3 MB, free: 28.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.2508, allocations: 55.41 kB / 409.3 MB, free: 28.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.136e-05/0.2509, allocations: 117.8 kB / 409.5 MB, free: 28.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.2509, allocations: 29.7 kB / 409.5 MB, free: 28.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/0.251, allocations: 92.03 kB / 409.6 MB, free: 28.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.251, allocations: 11.84 kB / 409.6 MB, free: 28.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.251, allocations: 13.72 kB / 409.6 MB, free: 28.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.347e-05/0.2511, allocations: 318.8 kB / 409.9 MB, free: 27.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-05/0.2511, allocations: 7.984 kB / 409.9 MB, free: 27.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.2511, allocations: 15.98 kB / 409.9 MB, free: 27.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.925e-05/0.2512, allocations: 32.78 kB / 410 MB, free: 27.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2512, allocations: 0 / 410 MB, free: 27.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.171e-05/0.2513, allocations: 57.59 kB / 410 MB, free: 27.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.2513, allocations: 4 kB / 410 MB, free: 27.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2513, allocations: 0 / 410 MB, free: 27.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2514, allocations: 0 / 410 MB, free: 27.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.927e-05/0.2514, allocations: 4 kB / 410 MB, free: 27.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2514, allocations: 7.984 kB / 410 MB, free: 27.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/0.2514, allocations: 0 / 410 MB, free: 27.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-06/0.2514, allocations: 0 / 410 MB, free: 27.75 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 4.691e-05/0.2515, allocations: 125.7 kB / 410.2 MB, free: 27.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.2515, allocations: 0 / 410.2 MB, free: 27.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.2516, allocations: 11.91 kB / 410.2 MB, free: 27.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2516, allocations: 0 / 410.2 MB, free: 27.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.2516, allocations: 0 / 410.2 MB, free: 27.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2516, allocations: 4 kB / 410.2 MB, free: 27.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.2517, allocations: 165.6 kB / 410.3 MB, free: 27.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2517, allocations: 0 / 410.3 MB, free: 27.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.2517, allocations: 7.984 kB / 410.3 MB, free: 27.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2517, allocations: 8.375 kB / 410.4 MB, free: 27.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.2518, allocations: 4 kB / 410.4 MB, free: 27.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.2518, allocations: 0 / 410.4 MB, free: 27.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2518, allocations: 3.984 kB / 410.4 MB, free: 27.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.2519, allocations: 159.3 kB / 410.5 MB, free: 27.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.2519, allocations: 81.48 kB / 410.6 MB, free: 27.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.2519, allocations: 0 / 410.6 MB, free: 27.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.252, allocations: 8 kB / 410.6 MB, free: 27.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.252, allocations: 7.922 kB / 410.6 MB, free: 27.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.252, allocations: 0 / 410.6 MB, free: 27.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.557e-05/0.2521, allocations: 95.27 kB / 410.7 MB, free: 26.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.32e-07/0.2521, allocations: 0 / 410.7 MB, free: 26.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.2523, allocations: 35.94 kB / 410.7 MB, free: 26.95 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.0007799/0.2531, allocations: 329.5 kB / 411.1 MB, free: 26.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.2533, allocations: 27.92 kB / 411.1 MB, free: 26.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.2533, allocations: 0 / 411.1 MB, free: 26.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.593e-05/0.2533, allocations: 11.94 kB / 411.1 MB, free: 26.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.2536, allocations: 14.94 kB / 411.1 MB, free: 26.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.2539, allocations: 179.6 kB / 411.3 MB, free: 26.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.993e-05/0.254, allocations: 0.6807 MB / 412 MB, free: 25.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.254, allocations: 15.42 kB / 412 MB, free: 25.71 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.254, allocations: 0 / 412 MB, free: 25.71 MB / 302.1 MB Notification: Performance of Templates: time 0.002742/0.2568, allocations: 1.612 MB / 413.6 MB, free: 24.1 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 -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1)