Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.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.TestStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001547/0.001547, allocations: 182.5 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.726/1.726, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001693/0.001693, allocations: 113.7 kB / 252.6 MB, free: 4.812 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.235/0.235, allocations: 39.93 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.824e-05/3.828e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1333, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4534/0.5868, allocations: 79.92 MB / 0.5225 GB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.5871, allocations: 59.83 kB / 0.5226 GB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00538/0.5925, allocations: 2.292 MB / 0.5248 GB, free: 8.805 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5925, allocations: 0 / 0.5248 GB, free: 8.805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.5925, allocations: 0 / 0.5248 GB, free: 8.805 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.0002189/0.5927, allocations: 359.3 kB / 0.5252 GB, free: 8.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.5928, allocations: 8.031 kB / 0.5252 GB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.5928, allocations: 7.859 kB / 0.5252 GB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.055e-05/0.5929, allocations: 171 kB / 0.5253 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.5929, allocations: 0 / 0.5253 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.5929, allocations: 0 / 0.5253 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.019e-05/0.593, allocations: 37.56 kB / 0.5254 GB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.593, allocations: 4 kB / 0.5254 GB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.593, allocations: 0 / 0.5254 GB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.593, allocations: 0 / 0.5254 GB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.5931, allocations: 3.953 kB / 0.5254 GB, free: 8.141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.389e-05/0.5932, allocations: 145.7 kB / 0.5255 GB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.524e-05/0.5932, allocations: 22.55 kB / 0.5255 GB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.217e-05/0.5932, allocations: 4.859 kB / 0.5255 GB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.5932, allocations: 4 kB / 0.5255 GB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.5933, allocations: 64.02 kB / 0.5256 GB, free: 7.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.5933, allocations: 0 / 0.5256 GB, free: 7.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001356/0.5934, allocations: 55.41 kB / 0.5257 GB, free: 7.766 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.5935, allocations: 85.09 kB / 0.5257 GB, free: 7.664 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.422e-05/0.5935, allocations: 85 kB / 0.5258 GB, free: 7.574 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.5935, allocations: 25.7 kB / 0.5258 GB, free: 7.543 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.406e-05/0.5935, allocations: 80.14 kB / 0.5259 GB, free: 7.461 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.5936, allocations: 4.031 kB / 0.5259 GB, free: 7.457 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.5936, allocations: 0 / 0.5259 GB, free: 7.457 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.914e-05/0.5936, allocations: 318.4 kB / 0.5262 GB, free: 7.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-06/0.5936, allocations: 7.938 kB / 0.5262 GB, free: 7.133 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-06/0.5937, allocations: 0 / 0.5262 GB, free: 7.133 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.951e-05/0.5937, allocations: 25.7 kB / 0.5263 GB, free: 7.102 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5937, allocations: 0 / 0.5263 GB, free: 7.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.749e-05/0.5938, allocations: 63.39 kB / 0.5263 GB, free: 7.027 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.5938, allocations: 41.73 kB / 0.5264 GB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5938, allocations: 4 kB / 0.5264 GB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5938, allocations: 0 / 0.5264 GB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.5938, allocations: 0 / 0.5264 GB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.5938, allocations: 0 / 0.5264 GB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.105e-05/0.5939, allocations: 0 / 0.5264 GB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.5939, allocations: 0 / 0.5264 GB, free: 6.977 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 5.217e-05/0.5939, allocations: 134.6 kB / 0.5265 GB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-06/0.5939, allocations: 3.562 kB / 0.5265 GB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.22e-05/0.5939, allocations: 19 kB / 0.5265 GB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.594, allocations: 0 / 0.5265 GB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.594, allocations: 0 / 0.5265 GB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.594, allocations: 4 kB / 0.5265 GB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.995e-05/0.594, allocations: 149.6 kB / 0.5267 GB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.594, allocations: 0 / 0.5267 GB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.594, allocations: 0 / 0.5267 GB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.5941, allocations: 0 / 0.5267 GB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.5941, allocations: 0 / 0.5267 GB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5941, allocations: 4 kB / 0.5267 GB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5941, allocations: 3.984 kB / 0.5267 GB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.291e-05/0.5941, allocations: 90.67 kB / 0.5268 GB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.5942, allocations: 81.11 kB / 0.5268 GB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.5942, allocations: 3.984 kB / 0.5268 GB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-06/0.5942, allocations: 0 / 0.5268 GB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/0.5942, allocations: 0 / 0.5268 GB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.5942, allocations: 0 / 0.5268 GB, free: 6.395 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.639e-05/0.5942, allocations: 75.28 kB / 0.5269 GB, free: 6.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5943, allocations: 8.031 kB / 0.5269 GB, free: 6.312 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002469/0.5945, allocations: 39.55 kB / 0.527 GB, free: 6.281 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.0004597/0.595, allocations: 272.9 kB / 0.5272 GB, free: 6.047 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.621e-05/0.5951, allocations: 63.22 kB / 0.5273 GB, free: 5.977 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.5951, allocations: 0 / 0.5273 GB, free: 5.977 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.077e-05/0.5951, allocations: 55.41 kB / 0.5273 GB, free: 5.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.389e-05/0.5952, allocations: 8.078 kB / 0.5273 GB, free: 5.902 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001271/0.5953, allocations: 47.16 kB / 0.5274 GB, free: 5.836 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.5955, allocations: 0.677 MB / 0.528 GB, free: 5.133 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.124e-06/0.5955, allocations: 0 / 0.528 GB, free: 5.133 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.18e-05/0.5955, allocations: 7.438 kB / 0.528 GB, free: 5.125 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5955, allocations: 0 / 0.528 GB, free: 5.125 MB / 346.7 MB Notification: Performance of Templates: time 0.003198/0.5987, allocations: 0.9291 MB / 0.529 GB, free: 4.215 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.pipe 2>&1)