Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.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.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001467/0.001467, allocations: 181.1 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.8/1.8, 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.001845/0.001844, allocations: 119.5 kB / 252.6 MB, free: 4.809 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.2569/0.2569, allocations: 39.94 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.48e-05/4.494e-05, allocations: 0 / 400.3 MB, free: 69.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1424, allocations: 54.86 MB / 455.1 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.458/0.6004, allocations: 82.62 MB / 0.5251 GB, free: 8.547 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.6007, allocations: 60.03 kB / 0.5252 GB, free: 8.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03711/0.6378, allocations: 16.66 MB / 0.5415 GB, free: 11.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.6379, allocations: 0 / 0.5415 GB, free: 11.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.6379, allocations: 0 / 0.5415 GB, free: 11.18 MB / 362.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.0007769/0.6387, allocations: 489.8 kB / 0.5419 GB, free: 10.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.6387, allocations: 8.031 kB / 0.5419 GB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.6388, allocations: 0 / 0.5419 GB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.85e-05/0.6389, allocations: 159.1 kB / 0.5421 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.6389, allocations: 0 / 0.5421 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.6389, allocations: 4 kB / 0.5421 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.831e-05/0.639, allocations: 33.66 kB / 0.5421 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.639, allocations: 3.938 kB / 0.5421 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.6391, allocations: 3.984 kB / 0.5421 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.6391, allocations: 0 / 0.5421 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.6391, allocations: 7.938 kB / 0.5422 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.6392, allocations: 145 kB / 0.5423 GB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.236e-05/0.6393, allocations: 18.61 kB / 0.5423 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.6393, allocations: 8.859 kB / 0.5423 GB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.6393, allocations: 0 / 0.5423 GB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.6394, allocations: 56.27 kB / 0.5424 GB, free: 10.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.6394, allocations: 0 / 0.5424 GB, free: 10.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001829/0.6396, allocations: 74.78 kB / 0.5424 GB, free: 10.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.6397, allocations: 77.11 kB / 0.5425 GB, free: 9.926 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.423e-05/0.6397, allocations: 85 kB / 0.5426 GB, free: 9.836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.6397, allocations: 25.7 kB / 0.5426 GB, free: 9.805 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.6398, allocations: 88.17 kB / 0.5427 GB, free: 9.715 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.6398, allocations: 0 / 0.5427 GB, free: 9.715 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.6398, allocations: 0 / 0.5427 GB, free: 9.715 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6399, allocations: 310.8 kB / 0.543 GB, free: 9.402 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-06/0.64, allocations: 3.938 kB / 0.543 GB, free: 9.398 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-06/0.64, allocations: 0 / 0.543 GB, free: 9.398 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.066e-05/0.64, allocations: 33.69 kB / 0.543 GB, free: 9.359 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.64, allocations: 0 / 0.543 GB, free: 9.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.901e-05/0.6401, allocations: 70.53 kB / 0.5431 GB, free: 9.281 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.6401, allocations: 29.7 kB / 0.5431 GB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.6401, allocations: 0 / 0.5431 GB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.6402, allocations: 3.984 kB / 0.5431 GB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.6402, allocations: 0 / 0.5431 GB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.6402, allocations: 7.953 kB / 0.5431 GB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.213e-05/0.6402, allocations: 0 / 0.5431 GB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.6402, allocations: 0 / 0.5431 GB, free: 9.234 MB / 362.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 9.228e-05/0.6403, allocations: 130.7 kB / 0.5433 GB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-06/0.6403, allocations: 8.031 kB / 0.5433 GB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.618e-05/0.6404, allocations: 7.078 kB / 0.5433 GB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.6404, allocations: 0 / 0.5433 GB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6404, allocations: 0 / 0.5433 GB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6404, allocations: 3.953 kB / 0.5433 GB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.6405, allocations: 149.2 kB / 0.5434 GB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.6405, allocations: 4 kB / 0.5434 GB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-06/0.6405, allocations: 4 kB / 0.5434 GB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.6405, allocations: 0 / 0.5434 GB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.6405, allocations: 0 / 0.5434 GB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.6405, allocations: 0 / 0.5434 GB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6405, allocations: 7.938 kB / 0.5434 GB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.6407, allocations: 97.97 kB / 0.5435 GB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.6407, allocations: 77.11 kB / 0.5436 GB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.6407, allocations: 0 / 0.5436 GB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-06/0.6407, allocations: 4 kB / 0.5436 GB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.6408, allocations: 0 / 0.5436 GB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.6408, allocations: 3.984 kB / 0.5436 GB, free: 8.648 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.155e-05/0.6408, allocations: 79.31 kB / 0.5437 GB, free: 8.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6408, allocations: 0 / 0.5437 GB, free: 8.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000489/0.6413, allocations: 138.7 kB / 0.5438 GB, free: 8.441 MB / 362.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.0009347/0.6422, allocations: 461.5 kB / 0.5443 GB, free: 8.027 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.42e-05/0.6423, allocations: 59.34 kB / 0.5443 GB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.6423, allocations: 0 / 0.5443 GB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.656e-05/0.6424, allocations: 58.84 kB / 0.5444 GB, free: 7.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.476e-05/0.6425, allocations: 4 kB / 0.5444 GB, free: 7.887 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001429/0.6426, allocations: 45.05 kB / 0.5444 GB, free: 7.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.6429, allocations: 0.6733 MB / 0.5451 GB, free: 7.121 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.48e-06/0.6429, allocations: 0 / 0.5451 GB, free: 7.121 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/0.6429, allocations: 11.44 kB / 0.5451 GB, free: 7.109 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6429, allocations: 0 / 0.5451 GB, free: 7.109 MB / 362.7 MB Notification: Performance of Templates: time 0.00572/0.6487, allocations: 2.732 MB / 0.5478 GB, free: 4.395 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe 2>&1)