Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001536/0.001536, allocations: 176.2 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.535/1.535, allocations: 194.3 MB / 202.4 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001775/0.001775, allocations: 119.1 kB / 247.4 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1791/0.1791, allocations: 39.95 MB / 332.2 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.616e-05/1.618e-05, allocations: 4 kB / 393.3 MB, free: 3.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2302, allocations: 54.87 MB / 448.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1043/0.3346, allocations: 78.94 MB / 0.5148 GB, free: 14.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.3348, allocations: 59.97 kB / 0.5148 GB, free: 14.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005474/0.3403, allocations: 1.924 MB / 0.5167 GB, free: 12.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3403, allocations: 0 / 0.5167 GB, free: 12.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.3403, allocations: 0 / 0.5167 GB, free: 12.65 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002991/0.3407, allocations: 365.2 kB / 0.5171 GB, free: 12.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3407, allocations: 12.03 kB / 0.5171 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.3407, allocations: 3.953 kB / 0.5171 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3409, allocations: 163.1 kB / 0.5172 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.3409, allocations: 0 / 0.5172 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.3409, allocations: 4 kB / 0.5172 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.886e-05/0.3409, allocations: 7.938 kB / 0.5172 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.071e-05/0.341, allocations: 25.7 kB / 0.5173 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.341, allocations: 3.984 kB / 0.5173 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.341, allocations: 0 / 0.5173 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.341, allocations: 3.953 kB / 0.5173 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.3412, allocations: 130.2 kB / 0.5174 GB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.19e-05/0.3412, allocations: 21.09 kB / 0.5174 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.457e-05/0.3412, allocations: 8.859 kB / 0.5174 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.3413, allocations: 0 / 0.5174 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.3413, allocations: 60.36 kB / 0.5175 GB, free: 11.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3413, allocations: 3.938 kB / 0.5175 GB, free: 11.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001891/0.3415, allocations: 29.7 kB / 0.5175 GB, free: 11.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.3416, allocations: 77.11 kB / 0.5176 GB, free: 11.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.131e-05/0.3416, allocations: 89 kB / 0.5177 GB, free: 11.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.3416, allocations: 29.7 kB / 0.5177 GB, free: 11.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.3417, allocations: 84.17 kB / 0.5178 GB, free: 11.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.3417, allocations: 7.891 kB / 0.5178 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-06/0.3417, allocations: 0 / 0.5178 GB, free: 11.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3418, allocations: 314.8 kB / 0.5181 GB, free: 11.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-06/0.3418, allocations: 3.938 kB / 0.5181 GB, free: 11.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.589e-06/0.3418, allocations: 3.938 kB / 0.5181 GB, free: 11.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.315e-05/0.3419, allocations: 4 kB / 0.5181 GB, free: 11.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3419, allocations: 0 / 0.5181 GB, free: 11.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.691e-05/0.342, allocations: 37.7 kB / 0.5181 GB, free: 10.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.342, allocations: 33.7 kB / 0.5182 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.342, allocations: 3.984 kB / 0.5182 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.342, allocations: 0 / 0.5182 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.3421, allocations: 0 / 0.5182 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.3421, allocations: 0 / 0.5182 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.3421, allocations: 0 / 0.5182 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3421, allocations: 7.984 kB / 0.5182 GB, free: 10.92 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.016e-05/0.3422, allocations: 134.6 kB / 0.5183 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.3422, allocations: 4.031 kB / 0.5183 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.152e-05/0.3422, allocations: 3.75 kB / 0.5183 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3422, allocations: 4 kB / 0.5183 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3422, allocations: 0 / 0.5183 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3422, allocations: 0 / 0.5183 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.726e-05/0.3423, allocations: 126.2 kB / 0.5184 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3423, allocations: 4 kB / 0.5184 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-06/0.3423, allocations: 3.953 kB / 0.5185 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3424, allocations: 0 / 0.5185 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3424, allocations: 4 kB / 0.5185 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3424, allocations: 0 / 0.5185 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3424, allocations: 4 kB / 0.5185 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.965e-05/0.3425, allocations: 65.06 kB / 0.5185 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.3425, allocations: 77.11 kB / 0.5186 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.3425, allocations: 7.953 kB / 0.5186 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-06/0.3426, allocations: 0 / 0.5186 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/0.3426, allocations: 3.984 kB / 0.5186 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3426, allocations: 0 / 0.5186 GB, free: 10.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.699e-05/0.3426, allocations: 79.31 kB / 0.5187 GB, free: 10.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3426, allocations: 0 / 0.5187 GB, free: 10.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.3429, allocations: 51.92 kB / 0.5187 GB, free: 10.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000442/0.3433, allocations: 209.5 kB / 0.5189 GB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.182e-05/0.3434, allocations: 55.41 kB / 0.519 GB, free: 10 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3434, allocations: 0 / 0.519 GB, free: 10 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.864e-05/0.3435, allocations: 59.34 kB / 0.519 GB, free: 9.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.768e-05/0.3436, allocations: 7.594 kB / 0.519 GB, free: 9.926 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001483/0.3437, allocations: 52.12 kB / 0.5191 GB, free: 9.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.3439, allocations: 0.671 MB / 0.5198 GB, free: 9.156 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.841e-06/0.3439, allocations: 0 / 0.5198 GB, free: 9.156 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/0.344, allocations: 11.44 kB / 0.5198 GB, free: 9.145 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.344, allocations: 0 / 0.5198 GB, free: 9.145 MB / 378.7 MB Notification: Performance of Templates: time 0.002844/0.3468, allocations: 0.848 MB / 0.5206 GB, free: 8.297 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe 2>&1)