Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.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.TestReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009551/0.0009553, allocations: 182.6 kB / 7.652 MB, free: 1.402 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.415/1.415, allocations: 194.3 MB / 202.4 MB, free: 8.492 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.001712/0.001712, allocations: 114.6 kB / 247.4 MB, free: 6.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2391/0.2391, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.833e-05/1.835e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09579/0.09583, allocations: 54.87 MB / 448.2 MB, free: 20.67 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3558/0.4517, allocations: 78.89 MB / 0.5147 GB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.4519, allocations: 56.97 kB / 0.5148 GB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003781/0.4557, allocations: 1.619 MB / 0.5164 GB, free: 9.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4558, allocations: 0 / 0.5164 GB, free: 9.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.4558, allocations: 0 / 0.5164 GB, free: 9.984 MB / 346.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.0002192/0.456, allocations: 353.3 kB / 0.5167 GB, free: 9.602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4561, allocations: 16.67 kB / 0.5167 GB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.4561, allocations: 3.953 kB / 0.5167 GB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.538e-05/0.4562, allocations: 159.1 kB / 0.5169 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.4562, allocations: 0 / 0.5169 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.4562, allocations: 4.844 kB / 0.5169 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.806e-05/0.4563, allocations: 11.88 kB / 0.5169 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.405e-05/0.4563, allocations: 25.7 kB / 0.5169 GB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.4563, allocations: 0 / 0.5169 GB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.4563, allocations: 0 / 0.5169 GB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4563, allocations: 10.33 kB / 0.5169 GB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.847e-05/0.4564, allocations: 129.5 kB / 0.517 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.171e-05/0.4565, allocations: 14.58 kB / 0.5171 GB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.22e-05/0.4565, allocations: 12.7 kB / 0.5171 GB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.4565, allocations: 3.938 kB / 0.5171 GB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.4566, allocations: 63.44 kB / 0.5171 GB, free: 9.082 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.4566, allocations: 3.938 kB / 0.5171 GB, free: 9.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000159/0.4567, allocations: 37.05 kB / 0.5172 GB, free: 9.047 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.4568, allocations: 80.36 kB / 0.5172 GB, free: 8.953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.571e-05/0.4568, allocations: 88.45 kB / 0.5173 GB, free: 8.863 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.603e-06/0.4568, allocations: 29.73 kB / 0.5174 GB, free: 8.828 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.304e-05/0.4568, allocations: 83.89 kB / 0.5174 GB, free: 8.746 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.4569, allocations: 0 / 0.5174 GB, free: 8.746 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.4569, allocations: 0 / 0.5174 GB, free: 8.746 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.4569, allocations: 317.3 kB / 0.5177 GB, free: 8.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-06/0.4569, allocations: 0 / 0.5177 GB, free: 8.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.4569, allocations: 3.375 kB / 0.5177 GB, free: 8.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.498e-05/0.457, allocations: 3.875 kB / 0.5177 GB, free: 8.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.457, allocations: 4.062 kB / 0.5178 GB, free: 8.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.102e-05/0.4571, allocations: 40.47 kB / 0.5178 GB, free: 8.391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.4571, allocations: 29.61 kB / 0.5178 GB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4571, allocations: 0 / 0.5178 GB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4571, allocations: 3.938 kB / 0.5178 GB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.4571, allocations: 0 / 0.5178 GB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.4571, allocations: 3.797 kB / 0.5178 GB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.17e-05/0.4572, allocations: 0 / 0.5178 GB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.4572, allocations: 0 / 0.5178 GB, free: 8.359 MB / 346.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 4.958e-05/0.4572, allocations: 138.5 kB / 0.518 GB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.4572, allocations: 0 / 0.518 GB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.179e-05/0.4572, allocations: 7.703 kB / 0.518 GB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.4573, allocations: 0 / 0.518 GB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4573, allocations: 0 / 0.518 GB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4573, allocations: 0 / 0.518 GB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.092e-05/0.4573, allocations: 132.9 kB / 0.5181 GB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4573, allocations: 3.953 kB / 0.5181 GB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.4573, allocations: 0 / 0.5181 GB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4573, allocations: 0 / 0.5181 GB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.4574, allocations: 0 / 0.5181 GB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.4574, allocations: 4 kB / 0.5181 GB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4574, allocations: 3.844 kB / 0.5181 GB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.539e-05/0.4574, allocations: 63.31 kB / 0.5182 GB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.4575, allocations: 84.25 kB / 0.5182 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.4575, allocations: 7.781 kB / 0.5183 GB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-06/0.4575, allocations: 0 / 0.5183 GB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.4575, allocations: 0 / 0.5183 GB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.4575, allocations: 4.031 kB / 0.5183 GB, free: 7.875 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.559e-05/0.4576, allocations: 83.19 kB / 0.5183 GB, free: 7.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4576, allocations: 0 / 0.5183 GB, free: 7.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000225/0.4578, allocations: 15.56 kB / 0.5183 GB, free: 7.793 MB / 346.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.0003288/0.4581, allocations: 191.9 kB / 0.5185 GB, free: 7.672 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.655e-05/0.4582, allocations: 58.38 kB / 0.5186 GB, free: 7.609 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4582, allocations: 0 / 0.5186 GB, free: 7.609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.4582, allocations: 63.09 kB / 0.5186 GB, free: 7.543 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.689e-05/0.4583, allocations: 0 / 0.5186 GB, free: 7.543 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000131/0.4585, allocations: 51.86 kB / 0.5187 GB, free: 7.477 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.809e-05/0.4586, allocations: 0.6817 MB / 0.5194 GB, free: 6.777 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.502e-06/0.4586, allocations: 0 / 0.5194 GB, free: 6.777 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.846e-06/0.4586, allocations: 7.438 kB / 0.5194 GB, free: 6.77 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4586, allocations: 0 / 0.5194 GB, free: 6.77 MB / 346.7 MB Notification: Performance of Templates: time 0.002351/0.461, allocations: 0.5932 MB / 0.5199 GB, free: 6.68 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.pipe 2>&1)