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.0009459/0.000946, allocations: 187.4 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.481/1.481, allocations: 194.3 MB / 202.4 MB, free: 8.535 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.001747/0.001747, allocations: 117.8 kB / 247.4 MB, free: 6.203 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.2533/0.2533, allocations: 39.94 MB / 332.2 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.451e-05/1.453e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09599/0.09602, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3676/0.4637, allocations: 81.94 MB / 0.5177 GB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.4639, allocations: 56.8 kB / 0.5178 GB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03382/0.4978, allocations: 16.69 MB / 0.5341 GB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4978, allocations: 0.8438 kB / 0.5341 GB, free: 2.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.4978, allocations: 0 / 0.5341 GB, free: 2.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.0004968/0.4983, allocations: 474.4 kB / 0.5345 GB, free: 2.484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4984, allocations: 8.031 kB / 0.5345 GB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.4984, allocations: 4 kB / 0.5345 GB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.445e-05/0.4985, allocations: 163.1 kB / 0.5347 GB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.4985, allocations: 0 / 0.5347 GB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.4985, allocations: 7.938 kB / 0.5347 GB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.994e-05/0.4986, allocations: 3.938 kB / 0.5347 GB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.436e-05/0.4986, allocations: 37.59 kB / 0.5347 GB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.4986, allocations: 0 / 0.5347 GB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.4986, allocations: 0 / 0.5347 GB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4986, allocations: 0 / 0.5347 GB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.736e-05/0.4987, allocations: 122.2 kB / 0.5348 GB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.107e-05/0.4988, allocations: 21.8 kB / 0.5349 GB, free: 2.035 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.238e-05/0.4988, allocations: 16.84 kB / 0.5349 GB, free: 2.016 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.4988, allocations: 0 / 0.5349 GB, free: 2.016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.4988, allocations: 56.27 kB / 0.5349 GB, free: 1.945 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.4988, allocations: 3.938 kB / 0.5349 GB, free: 1.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.499, allocations: 41.55 kB / 0.535 GB, free: 1.898 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.499, allocations: 80.61 kB / 0.535 GB, free: 1.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.738e-05/0.4991, allocations: 85 kB / 0.5351 GB, free: 1.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.4991, allocations: 29.73 kB / 0.5352 GB, free: 1.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.371e-05/0.4991, allocations: 80.14 kB / 0.5352 GB, free: 1.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.4991, allocations: 4 kB / 0.5352 GB, free: 1.594 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-06/0.4991, allocations: 0 / 0.5352 GB, free: 1.594 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.784e-05/0.4992, allocations: 314.8 kB / 0.5355 GB, free: 1.277 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-06/0.4992, allocations: 0 / 0.5355 GB, free: 1.277 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-06/0.4992, allocations: 0 / 0.5355 GB, free: 1.277 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.542e-05/0.4992, allocations: 4 kB / 0.5355 GB, free: 1.273 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4992, allocations: 0 / 0.5355 GB, free: 1.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.196e-05/0.4993, allocations: 41.64 kB / 0.5356 GB, free: 1.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.4993, allocations: 33.7 kB / 0.5356 GB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.4993, allocations: 0 / 0.5356 GB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.4994, allocations: 3.984 kB / 0.5356 GB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.4994, allocations: 0 / 0.5356 GB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.4994, allocations: 0 / 0.5356 GB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.161e-05/0.4994, allocations: 3.953 kB / 0.5356 GB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.4994, allocations: 0 / 0.5356 GB, free: 1.184 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 4.653e-05/0.4995, allocations: 130.7 kB / 0.5357 GB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-06/0.4995, allocations: 4.031 kB / 0.5357 GB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.223e-05/0.4995, allocations: 7.703 kB / 0.5358 GB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4995, allocations: 0 / 0.5358 GB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4995, allocations: 3.938 kB / 0.5358 GB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.4995, allocations: 4 kB / 0.5358 GB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.142e-05/0.4996, allocations: 130.2 kB / 0.5359 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.4996, allocations: 0 / 0.5359 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.4996, allocations: 0 / 0.5359 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.4996, allocations: 0 / 0.5359 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-06/0.4996, allocations: 0 / 0.5359 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.4996, allocations: 0 / 0.5359 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4996, allocations: 11.94 kB / 0.5359 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.031e-05/0.4997, allocations: 68.83 kB / 0.536 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.4997, allocations: 77.11 kB / 0.536 GB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.4997, allocations: 0 / 0.536 GB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-06/0.4997, allocations: 4 kB / 0.536 GB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.4998, allocations: 3.984 kB / 0.536 GB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.4998, allocations: 0 / 0.536 GB, free: 0.668 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.562e-05/0.4998, allocations: 79.31 kB / 0.5361 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4998, allocations: 0 / 0.5361 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.5002, allocations: 144.7 kB / 0.5363 GB, free: 472 kB / 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.0007606/0.501, allocations: 456.5 kB / 0.5367 GB, free: 64 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.5011, allocations: 59.34 kB / 0.5368 GB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5011, allocations: 0 / 0.5368 GB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.791e-05/0.5011, allocations: 59.47 kB / 0.5368 GB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.741e-05/0.5012, allocations: 3.953 kB / 0.5368 GB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001585/0.5014, allocations: 51.38 kB / 0.5369 GB, free: 15.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.5017, allocations: 0.6729 MB / 0.5375 GB, free: 15.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.701e-06/0.5017, allocations: 0 / 0.5375 GB, free: 15.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.316e-05/0.5017, allocations: 11.44 kB / 0.5375 GB, free: 15.14 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5017, allocations: 0 / 0.5375 GB, free: 15.14 MB / 362.7 MB Notification: Performance of Templates: time 0.005404/0.5071, allocations: 2.653 MB / 0.5401 GB, free: 12.51 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)