Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.00153, allocations: 185.9 kB / 16.41 MB, free: 5.723 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.946/1.946, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001152/0.001151, allocations: 82.92 kB / 270.9 MB, free: 8.395 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.516/0.516, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004475, allocations: 8 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1208, allocations: 58.84 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4552/0.5761, allocations: 87.81 MB / 0.5645 GB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.5764, allocations: 67.97 kB / 0.5645 GB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06777/0.6442, allocations: 16.9 MB / 0.581 GB, free: 14 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.6442, allocations: 0 / 0.581 GB, free: 14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.6442, allocations: 7.281 kB / 0.5811 GB, free: 14 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.000848/0.6451, allocations: 488.8 kB / 0.5815 GB, free: 13.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.6452, allocations: 12.02 kB / 0.5815 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.6452, allocations: 2.031 kB / 0.5815 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.6453, allocations: 175.1 kB / 0.5817 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.6454, allocations: 0 / 0.5817 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.6454, allocations: 0 / 0.5817 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.804e-05/0.6455, allocations: 30.73 kB / 0.5817 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.6455, allocations: 0 / 0.5817 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.6455, allocations: 0 / 0.5817 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.6455, allocations: 0 / 0.5817 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.157e-05/0.6456, allocations: 7.891 kB / 0.5817 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.6457, allocations: 149.7 kB / 0.5819 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.144e-05/0.6458, allocations: 18.61 kB / 0.5819 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.6458, allocations: 0 / 0.5819 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/0.6458, allocations: 60.27 kB / 0.582 GB, free: 12.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.6459, allocations: 0 / 0.582 GB, free: 12.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001851/0.6461, allocations: 67.39 kB / 0.582 GB, free: 12.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.6461, allocations: 77.11 kB / 0.5821 GB, free: 12.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.518e-05/0.6462, allocations: 93.12 kB / 0.5822 GB, free: 12.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.6462, allocations: 25.7 kB / 0.5822 GB, free: 12.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.6463, allocations: 150.6 kB / 0.5823 GB, free: 12.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.6463, allocations: 4 kB / 0.5824 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.6463, allocations: 0 / 0.5824 GB, free: 12.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.6465, allocations: 314.8 kB / 0.5827 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.6465, allocations: 0 / 0.5827 GB, free: 12.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.044e-05/0.6465, allocations: 4 kB / 0.5827 GB, free: 12.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.652e-05/0.6466, allocations: 25.77 kB / 0.5827 GB, free: 12.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6466, allocations: 4 kB / 0.5827 GB, free: 12.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.957e-05/0.6467, allocations: 67.33 kB / 0.5827 GB, free: 12.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.6467, allocations: 29.7 kB / 0.5828 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.6468, allocations: 0 / 0.5828 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.6468, allocations: 3.938 kB / 0.5828 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.6468, allocations: 4 kB / 0.5828 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.6468, allocations: 3.984 kB / 0.5828 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/0.6468, allocations: 0.75 kB / 0.5828 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.6469, allocations: 0 / 0.5828 GB, free: 11.97 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 0.0001139/0.647, allocations: 155.5 kB / 0.5829 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.647, allocations: 0 / 0.5829 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.336e-05/0.647, allocations: 3.125 kB / 0.5829 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.647, allocations: 0 / 0.5829 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.6471, allocations: 4 kB / 0.5829 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.6471, allocations: 0 / 0.5829 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.6472, allocations: 157.6 kB / 0.5831 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6472, allocations: 0 / 0.5831 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.6472, allocations: 0 / 0.5831 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6472, allocations: 0 / 0.5831 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.6473, allocations: 4 kB / 0.5831 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6473, allocations: 0 / 0.5831 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6473, allocations: 0 / 0.5831 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.6474, allocations: 98.72 kB / 0.5832 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.6475, allocations: 77.11 kB / 0.5833 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.6475, allocations: 4 kB / 0.5833 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.221e-05/0.6475, allocations: 0 / 0.5833 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.6475, allocations: 4.031 kB / 0.5833 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.6476, allocations: 0 / 0.5833 GB, free: 11.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.025e-05/0.6476, allocations: 75.28 kB / 0.5833 GB, free: 11.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6476, allocations: 0 / 0.5833 GB, free: 11.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007362/0.6484, allocations: 147.9 kB / 0.5835 GB, free: 11.15 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.001391/0.6498, allocations: 494 kB / 0.584 GB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.6499, allocations: 59.39 kB / 0.584 GB, free: 10.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6499, allocations: 0 / 0.584 GB, free: 10.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.917e-05/0.65, allocations: 59.34 kB / 0.5841 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.6501, allocations: 8.078 kB / 0.5841 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.6503, allocations: 103.2 kB / 0.5842 GB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.6506, allocations: 0.677 MB / 0.5848 GB, free: 9.754 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.6507, allocations: 11.44 kB / 0.5848 GB, free: 9.742 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6507, allocations: 3.938 kB / 0.5849 GB, free: 9.738 MB / 410.7 MB Notification: Performance of Templates: time 0.008006/0.6587, allocations: 2.991 MB / 0.5878 GB, free: 6.746 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.pipe 2>&1)