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.001498/0.001497, allocations: 187.3 kB / 7.654 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.505/1.505, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001622/0.001622, allocations: 123.1 kB / 247.4 MB, free: 6.227 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.1907/0.1907, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.324e-05/1.328e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.099, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.368/0.467, allocations: 79.26 MB / 0.5151 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001604/0.4672, allocations: 56.83 kB / 0.5151 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005139/0.4724, allocations: 2.287 MB / 0.5174 GB, free: 9.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4724, allocations: 0 / 0.5174 GB, free: 9.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.4724, allocations: 0 / 0.5174 GB, free: 9.988 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.000233/0.4726, allocations: 357.8 kB / 0.5177 GB, free: 9.605 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4727, allocations: 7.406 kB / 0.5177 GB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.4727, allocations: 15.73 kB / 0.5177 GB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.36e-05/0.4728, allocations: 161.5 kB / 0.5179 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.4728, allocations: 0 / 0.5179 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.4728, allocations: 0 / 0.5179 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.584e-05/0.4729, allocations: 0 / 0.5179 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.548e-05/0.4729, allocations: 29.52 kB / 0.5179 GB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.4729, allocations: 0 / 0.5179 GB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.473, allocations: 0 / 0.5179 GB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.473, allocations: 7.891 kB / 0.5179 GB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.562e-05/0.4731, allocations: 128.5 kB / 0.518 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.939e-05/0.4731, allocations: 25.86 kB / 0.5181 GB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.09e-05/0.4731, allocations: 4.859 kB / 0.5181 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.4731, allocations: 0 / 0.5181 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.4732, allocations: 62.66 kB / 0.5181 GB, free: 9.094 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4732, allocations: 0 / 0.5181 GB, free: 9.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001771/0.4734, allocations: 32.12 kB / 0.5182 GB, free: 9.062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.4734, allocations: 81.14 kB / 0.5182 GB, free: 8.965 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.16e-05/0.4734, allocations: 88.84 kB / 0.5183 GB, free: 8.875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.274e-06/0.4734, allocations: 25.7 kB / 0.5183 GB, free: 8.844 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.316e-05/0.4735, allocations: 87.86 kB / 0.5184 GB, free: 8.758 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.4735, allocations: 3.359 kB / 0.5184 GB, free: 8.758 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-06/0.4735, allocations: 0 / 0.5184 GB, free: 8.758 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.4735, allocations: 314.8 kB / 0.5187 GB, free: 8.441 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-06/0.4736, allocations: 0 / 0.5187 GB, free: 8.441 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-06/0.4736, allocations: 3.844 kB / 0.5187 GB, free: 8.441 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.4736, allocations: 6.922 kB / 0.5187 GB, free: 8.438 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4736, allocations: 0 / 0.5187 GB, free: 8.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.119e-05/0.4737, allocations: 36.06 kB / 0.5188 GB, free: 8.406 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.4737, allocations: 41.02 kB / 0.5188 GB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4737, allocations: 0 / 0.5188 GB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4737, allocations: 0 / 0.5188 GB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.4737, allocations: 0 / 0.5188 GB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.4738, allocations: 0 / 0.5188 GB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.168e-05/0.4738, allocations: 0 / 0.5188 GB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.4738, allocations: 2.438 kB / 0.5188 GB, free: 8.371 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.27e-05/0.4738, allocations: 138.5 kB / 0.519 GB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-06/0.4739, allocations: 0 / 0.519 GB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.116e-05/0.4739, allocations: 7.703 kB / 0.519 GB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.4739, allocations: 0 / 0.519 GB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4739, allocations: 3.906 kB / 0.519 GB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4739, allocations: 6.844 kB / 0.519 GB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.323e-05/0.474, allocations: 122.2 kB / 0.5191 GB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.474, allocations: 4 kB / 0.5191 GB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-06/0.474, allocations: 3.953 kB / 0.5191 GB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.474, allocations: 7.938 kB / 0.5191 GB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.474, allocations: 0 / 0.5191 GB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.474, allocations: 3.938 kB / 0.5191 GB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.474, allocations: 6.891 kB / 0.5191 GB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.205e-05/0.4741, allocations: 63.36 kB / 0.5192 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.4741, allocations: 80.98 kB / 0.5192 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.4741, allocations: 3.953 kB / 0.5193 GB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-06/0.4742, allocations: 4.031 kB / 0.5193 GB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.4742, allocations: 0 / 0.5193 GB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.4742, allocations: 0 / 0.5193 GB, free: 7.875 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.546e-05/0.4742, allocations: 78 kB / 0.5193 GB, free: 7.801 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4742, allocations: 3.875 kB / 0.5193 GB, free: 7.801 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002577/0.4745, allocations: 34.09 kB / 0.5194 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.0004768/0.475, allocations: 268.3 kB / 0.5196 GB, free: 7.637 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.702e-05/0.475, allocations: 55.25 kB / 0.5197 GB, free: 7.574 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.475, allocations: 0 / 0.5197 GB, free: 7.574 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.701e-05/0.4751, allocations: 55.25 kB / 0.5197 GB, free: 7.512 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.482e-05/0.4752, allocations: 7.828 kB / 0.5197 GB, free: 7.508 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001216/0.4753, allocations: 48.55 kB / 0.5198 GB, free: 7.445 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.4754, allocations: 0.669 MB / 0.5204 GB, free: 6.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.132e-06/0.4754, allocations: 1.922 kB / 0.5204 GB, free: 6.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.468e-06/0.4754, allocations: 11.41 kB / 0.5204 GB, free: 6.742 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4754, allocations: 3.938 kB / 0.5205 GB, free: 6.738 MB / 346.7 MB Notification: Performance of Templates: time 0.002996/0.4784, allocations: 0.9306 MB / 0.5214 GB, free: 6.59 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)