Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002045/0.002045, allocations: 175.9 kB / 16.76 MB, free: 4.902 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007089/0.000709, allocations: 85.42 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.311/0.311, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003556, allocations: 12 kB / 432.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1154, allocations: 58.85 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2954/0.4108, allocations: 87.84 MB / 0.5657 GB, free: 14.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.411, allocations: 67.97 kB / 0.5658 GB, free: 14.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04157/0.4526, allocations: 19.43 MB / 0.5848 GB, free: 10.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4527, allocations: 0 / 0.5848 GB, free: 10.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.4527, allocations: 0 / 0.5848 GB, free: 10.7 MB / 410.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.0006839/0.4534, allocations: 489.1 kB / 0.5852 GB, free: 10.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4534, allocations: 16.03 kB / 0.5853 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.4535, allocations: 0.9375 kB / 0.5853 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.4536, allocations: 164.4 kB / 0.5854 GB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.4536, allocations: 384 / 0.5854 GB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.4536, allocations: 384 / 0.5854 GB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.517e-05/0.4537, allocations: 30.27 kB / 0.5854 GB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.4537, allocations: 192 / 0.5854 GB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.4537, allocations: 3.938 kB / 0.5854 GB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.4538, allocations: 0 / 0.5854 GB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.977e-05/0.4538, allocations: 7.938 kB / 0.5854 GB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.4539, allocations: 157.7 kB / 0.5856 GB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.609e-05/0.454, allocations: 14.58 kB / 0.5856 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.454, allocations: 8.953 kB / 0.5856 GB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.454, allocations: 3.938 kB / 0.5856 GB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/0.4541, allocations: 56.27 kB / 0.5857 GB, free: 9.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.4541, allocations: 0 / 0.5857 GB, free: 9.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001648/0.4542, allocations: 79.27 kB / 0.5858 GB, free: 9.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.4543, allocations: 77.11 kB / 0.5858 GB, free: 9.406 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.202e-05/0.4543, allocations: 89.86 kB / 0.5859 GB, free: 9.309 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.4543, allocations: 25.7 kB / 0.5859 GB, free: 9.277 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.4544, allocations: 80.14 kB / 0.586 GB, free: 9.195 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.4544, allocations: 7.906 kB / 0.586 GB, free: 9.188 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-06/0.4544, allocations: 0 / 0.586 GB, free: 9.188 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4545, allocations: 310.8 kB / 0.5863 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-06/0.4545, allocations: 4.125 kB / 0.5863 GB, free: 8.871 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-06/0.4545, allocations: 0 / 0.5863 GB, free: 8.871 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.76e-05/0.4546, allocations: 68.25 kB / 0.5864 GB, free: 8.789 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4546, allocations: 1.125 kB / 0.5864 GB, free: 8.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.204e-05/0.4547, allocations: 63.34 kB / 0.5864 GB, free: 8.715 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.4547, allocations: 29.7 kB / 0.5865 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.4547, allocations: 0 / 0.5865 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.4547, allocations: 3.938 kB / 0.5865 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.4547, allocations: 4.094 kB / 0.5865 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.4548, allocations: 4 kB / 0.5865 GB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.18e-05/0.4548, allocations: 0 / 0.5865 GB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.4548, allocations: 0 / 0.5865 GB, free: 8.668 MB / 410.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.83e-05/0.4549, allocations: 139.5 kB / 0.5866 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/0.4549, allocations: 0 / 0.5866 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.303e-05/0.4549, allocations: 11.06 kB / 0.5866 GB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.4549, allocations: 3.938 kB / 0.5866 GB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4549, allocations: 0 / 0.5866 GB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.4549, allocations: 0 / 0.5866 GB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.52e-05/0.455, allocations: 153.7 kB / 0.5868 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.455, allocations: 0 / 0.5868 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.455, allocations: 0 / 0.5868 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.455, allocations: 0 / 0.5868 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.455, allocations: 7.922 kB / 0.5868 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.455, allocations: 0 / 0.5868 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.455, allocations: 0 / 0.5868 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.423e-05/0.4551, allocations: 98.7 kB / 0.5869 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/0.4552, allocations: 81.14 kB / 0.587 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.4552, allocations: 7.938 kB / 0.587 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-06/0.4552, allocations: 0 / 0.587 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.4552, allocations: 0 / 0.587 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.4552, allocations: 0 / 0.587 GB, free: 8.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.916e-05/0.4553, allocations: 75.28 kB / 0.587 GB, free: 7.996 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4553, allocations: 0 / 0.587 GB, free: 7.996 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006591/0.4559, allocations: 251.7 kB / 0.5873 GB, free: 7.75 MB / 410.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.001201/0.4571, allocations: 0.6491 MB / 0.5879 GB, free: 7.172 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.122e-05/0.4572, allocations: 63.41 kB / 0.588 GB, free: 7.098 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4572, allocations: 0 / 0.588 GB, free: 7.098 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.609e-05/0.4573, allocations: 55.34 kB / 0.588 GB, free: 7.031 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.4574, allocations: 4 kB / 0.588 GB, free: 7.027 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001578/0.4576, allocations: 73.5 kB / 0.5881 GB, free: 6.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.4578, allocations: 0.6772 MB / 0.5888 GB, free: 6.227 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.599e-06/0.4578, allocations: 0 / 0.5888 GB, free: 6.227 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.399e-05/0.4578, allocations: 11.44 kB / 0.5888 GB, free: 6.215 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/0.4578, allocations: 0 / 0.5888 GB, free: 6.215 MB / 410.7 MB Notification: Performance of Templates: time 0.007515/0.4654, allocations: 4.384 MB / 0.5931 GB, free: 1.824 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe 2>&1)