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.009827/0.009827, allocations: 174.8 kB / 15.12 MB, free: 5.973 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.571/1.571, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.00169/0.00169, allocations: 116.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1962/0.1962, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004048, allocations: 12.52 kB / 406.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.118, allocations: 54.87 MB / 461 MB, free: 3.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1183/0.2364, allocations: 80.01 MB / 0.5283 GB, free: 3.215 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.2367, allocations: 63.97 kB / 0.5284 GB, free: 3.152 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006581/0.2433, allocations: 2.296 MB / 0.5306 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.786e-05/0.2434, allocations: 3.938 kB / 0.5307 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.2434, allocations: 0 / 0.5307 GB, free: 0.8477 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.0003334/0.2438, allocations: 369 kB / 0.531 GB, free: 444 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.2438, allocations: 8.031 kB / 0.531 GB, free: 436 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.2439, allocations: 3.953 kB / 0.531 GB, free: 432 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.244, allocations: 167.1 kB / 0.5312 GB, free: 224 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.244, allocations: 4 kB / 0.5312 GB, free: 220 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.244, allocations: 0 / 0.5312 GB, free: 220 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.232e-05/0.2441, allocations: 25.7 kB / 0.5312 GB, free: 188 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2441, allocations: 3.938 kB / 0.5312 GB, free: 184 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2441, allocations: 4 kB / 0.5312 GB, free: 180 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2442, allocations: 0 / 0.5312 GB, free: 180 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.2442, allocations: 3.953 kB / 0.5312 GB, free: 176 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2396/0.4838, allocations: 149.7 kB / 0.5314 GB, free: 82.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.035e-05/0.4839, allocations: 18.7 kB / 0.5314 GB, free: 82.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.4839, allocations: 1.375 kB / 0.5314 GB, free: 82.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.484, allocations: 58.64 kB / 0.5314 GB, free: 82.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 3.476e-06/0.484, allocations: 1.25 kB / 0.5314 GB, free: 82.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001843/0.4842, allocations: 65.06 kB / 0.5315 GB, free: 82.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.4842, allocations: 82.47 kB / 0.5316 GB, free: 82.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.052e-05/0.4843, allocations: 85 kB / 0.5317 GB, free: 82.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.543e-06/0.4843, allocations: 25.7 kB / 0.5317 GB, free: 82.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.649e-05/0.4843, allocations: 84.14 kB / 0.5318 GB, free: 82.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.4843, allocations: 0 / 0.5318 GB, free: 82.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-06/0.4843, allocations: 1.562 kB / 0.5318 GB, free: 82.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.787e-05/0.4844, allocations: 314.5 kB / 0.5321 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.4844, allocations: 7.578 kB / 0.5321 GB, free: 82.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.4844, allocations: 2.484 kB / 0.5321 GB, free: 82.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.28e-05/0.4844, allocations: 27.8 kB / 0.5321 GB, free: 82.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4845, allocations: 4.484 kB / 0.5321 GB, free: 82.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.605e-05/0.4845, allocations: 66.03 kB / 0.5322 GB, free: 81.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.4846, allocations: 32.19 kB / 0.5322 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4846, allocations: 0 / 0.5322 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4846, allocations: 1.5 kB / 0.5322 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.625e-06/0.4846, allocations: 4.484 kB / 0.5322 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4846, allocations: 0 / 0.5322 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.4846, allocations: 1.375 kB / 0.5322 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.4847, allocations: 0 / 0.5322 GB, free: 81.91 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 () * Number of clocked 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.129e-05/0.4847, allocations: 136.9 kB / 0.5323 GB, free: 81.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.4847, allocations: 6.016 kB / 0.5323 GB, free: 81.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.568e-05/0.4848, allocations: 8.078 kB / 0.5323 GB, free: 81.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4848, allocations: 1.875 kB / 0.5323 GB, free: 81.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4848, allocations: 5.531 kB / 0.5324 GB, free: 81.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4848, allocations: 0.7031 kB / 0.5324 GB, free: 81.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.143e-05/0.4849, allocations: 145.7 kB / 0.5325 GB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4849, allocations: 0 / 0.5325 GB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-06/0.4849, allocations: 5.359 kB / 0.5325 GB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4849, allocations: 0 / 0.5325 GB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.4849, allocations: 1.594 kB / 0.5325 GB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.4849, allocations: 1.312 kB / 0.5325 GB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4849, allocations: 0.8906 kB / 0.5325 GB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.375e-05/0.485, allocations: 97.7 kB / 0.5326 GB, free: 81.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.485, allocations: 77.95 kB / 0.5327 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.485, allocations: 7.891 kB / 0.5327 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.135e-05/0.4851, allocations: 0 / 0.5327 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.4851, allocations: 0.5 kB / 0.5327 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.4851, allocations: 0 / 0.5327 GB, free: 81.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.236e-05/0.4851, allocations: 75.84 kB / 0.5328 GB, free: 81.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4851, allocations: 1.125 kB / 0.5328 GB, free: 81.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003353/0.4855, allocations: 44.97 kB / 0.5328 GB, free: 81.29 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) * Number of clocked states: 0 () * 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.0005579/0.486, allocations: 286.2 kB / 0.5331 GB, free: 81.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.987e-05/0.4861, allocations: 58.03 kB / 0.5331 GB, free: 81.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4861, allocations: 0 / 0.5331 GB, free: 81.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.04e-05/0.4862, allocations: 55.41 kB / 0.5332 GB, free: 81.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.883e-05/0.4862, allocations: 9.125 kB / 0.5332 GB, free: 81.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001508/0.4864, allocations: 81.12 kB / 0.5333 GB, free: 80.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.769e-05/0.4865, allocations: 0.6753 MB / 0.5339 GB, free: 80.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.581e-06/0.4865, allocations: 0 / 0.5339 GB, free: 80.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-06/0.4865, allocations: 7.438 kB / 0.5339 GB, free: 80.23 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4865, allocations: 0 / 0.5339 GB, free: 80.23 MB / 378.7 MB Notification: Performance of Templates: time 0.003495/0.49, allocations: 0.928 MB / 0.5348 GB, free: 80.12 MB / 378.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)