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.001197/0.001197, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.743/1.743, allocations: 194.3 MB / 207.5 MB, free: 3.406 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.001654/0.001654, allocations: 112.2 kB / 252.6 MB, free: 4.832 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.2184/0.2184, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.823e-05, allocations: 4 kB / 400.3 MB, free: 69.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1114, allocations: 54.86 MB / 455.1 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4226/0.5341, allocations: 79.56 MB / 0.5222 GB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.5344, allocations: 58.44 kB / 0.5222 GB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003798/0.5382, allocations: 1.732 MB / 0.5239 GB, free: 9.828 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5382, allocations: 3.031 kB / 0.5239 GB, free: 9.828 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.5382, allocations: 0 / 0.5239 GB, free: 9.828 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.0002408/0.5384, allocations: 355.7 kB / 0.5243 GB, free: 9.434 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.5385, allocations: 11.97 kB / 0.5243 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.5385, allocations: 3.953 kB / 0.5243 GB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.416e-05/0.5386, allocations: 162.8 kB / 0.5244 GB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.5387, allocations: 2.531 kB / 0.5244 GB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.5387, allocations: 7.984 kB / 0.5244 GB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.452e-05/0.5388, allocations: 25.7 kB / 0.5245 GB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.5388, allocations: 0 / 0.5245 GB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.5388, allocations: 0 / 0.5245 GB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.5388, allocations: 4 kB / 0.5245 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.028e-05/0.5389, allocations: 11.89 kB / 0.5245 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.539, allocations: 141.7 kB / 0.5246 GB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.852e-05/0.539, allocations: 22.42 kB / 0.5246 GB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.373e-05/0.539, allocations: 8.844 kB / 0.5246 GB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.365e-06/0.5391, allocations: 0 / 0.5246 GB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.5391, allocations: 62.92 kB / 0.5247 GB, free: 8.867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.5391, allocations: 0 / 0.5247 GB, free: 8.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001507/0.5393, allocations: 63.34 kB / 0.5248 GB, free: 8.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.5393, allocations: 81.11 kB / 0.5248 GB, free: 8.695 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.321e-05/0.5394, allocations: 92.86 kB / 0.5249 GB, free: 8.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.5394, allocations: 25.7 kB / 0.525 GB, free: 8.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.826e-05/0.5394, allocations: 80.14 kB / 0.525 GB, free: 8.488 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.5395, allocations: 0 / 0.525 GB, free: 8.488 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.5395, allocations: 4 kB / 0.525 GB, free: 8.484 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.5395, allocations: 319 kB / 0.5253 GB, free: 8.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.217e-06/0.5395, allocations: 0 / 0.5253 GB, free: 8.164 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.5396, allocations: 0 / 0.5253 GB, free: 8.164 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.968e-05/0.5396, allocations: 29.7 kB / 0.5254 GB, free: 8.129 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5396, allocations: 0 / 0.5254 GB, free: 8.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.4e-05/0.5397, allocations: 71.14 kB / 0.5254 GB, free: 8.051 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.5397, allocations: 29.7 kB / 0.5255 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.5397, allocations: 0 / 0.5255 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5397, allocations: 0 / 0.5255 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.5397, allocations: 4.094 kB / 0.5255 GB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.5397, allocations: 4.625 kB / 0.5255 GB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.225e-05/0.5398, allocations: 0 / 0.5255 GB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.5398, allocations: 0 / 0.5255 GB, free: 8.008 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 6.192e-05/0.5398, allocations: 134.6 kB / 0.5256 GB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-06/0.5398, allocations: 7.938 kB / 0.5256 GB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.401e-05/0.5399, allocations: 7.078 kB / 0.5256 GB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.5399, allocations: 3.984 kB / 0.5256 GB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5399, allocations: 0 / 0.5256 GB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.5399, allocations: 4 kB / 0.5256 GB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.354e-05/0.54, allocations: 149.6 kB / 0.5258 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.54, allocations: 0 / 0.5258 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.54, allocations: 0 / 0.5258 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.54, allocations: 0 / 0.5258 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.54, allocations: 0 / 0.5258 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.54, allocations: 3.984 kB / 0.5258 GB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.54, allocations: 0 / 0.5258 GB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.961e-05/0.5401, allocations: 102.6 kB / 0.5259 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.5401, allocations: 77.11 kB / 0.5259 GB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.5401, allocations: 7.984 kB / 0.5259 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.657e-06/0.5402, allocations: 0 / 0.5259 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.5402, allocations: 7.859 kB / 0.526 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.5402, allocations: 0 / 0.526 GB, free: 7.414 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.867e-05/0.5402, allocations: 79.28 kB / 0.526 GB, free: 7.336 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5402, allocations: 0 / 0.526 GB, free: 7.336 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000248/0.5405, allocations: 19.36 kB / 0.526 GB, free: 7.32 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.000413/0.5409, allocations: 182 kB / 0.5262 GB, free: 7.156 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.97e-05/0.541, allocations: 63.28 kB / 0.5263 GB, free: 7.086 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.541, allocations: 4.062 kB / 0.5263 GB, free: 7.082 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.328e-05/0.541, allocations: 55.34 kB / 0.5263 GB, free: 7.016 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001003/0.5411, allocations: 7.953 kB / 0.5263 GB, free: 7.008 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001572/0.5413, allocations: 51.05 kB / 0.5264 GB, free: 6.938 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.5415, allocations: 0.677 MB / 0.5271 GB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.104e-06/0.5415, allocations: 0 / 0.5271 GB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.032e-05/0.5415, allocations: 7.438 kB / 0.5271 GB, free: 6.227 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5415, allocations: 0 / 0.5271 GB, free: 6.227 MB / 346.7 MB Notification: Performance of Templates: time 0.00269/0.5442, allocations: 0.6167 MB / 0.5277 GB, free: 5.629 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)