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.001437/0.001437, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.763/1.763, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009452/0.0009451, allocations: 98.83 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2457/0.2457, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003834, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1371, allocations: 58.85 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4658/0.6029, allocations: 87.81 MB / 0.5645 GB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.6032, allocations: 62.78 kB / 0.5646 GB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05755/0.6607, allocations: 16.92 MB / 0.5811 GB, free: 14.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6608, allocations: 0 / 0.5811 GB, free: 14.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.6608, allocations: 0 / 0.5811 GB, free: 14.02 MB / 394.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.0008404/0.6617, allocations: 495.1 kB / 0.5815 GB, free: 13.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.6617, allocations: 8.031 kB / 0.5816 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.6618, allocations: 3.953 kB / 0.5816 GB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.6619, allocations: 163.1 kB / 0.5817 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.6619, allocations: 0 / 0.5817 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.6619, allocations: 4 kB / 0.5817 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.662, allocations: 25.7 kB / 0.5817 GB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.6621, allocations: 3.984 kB / 0.5817 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.6621, allocations: 0 / 0.5817 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.6621, allocations: 4 kB / 0.5817 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.602e-05/0.6621, allocations: 11.88 kB / 0.5818 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.6623, allocations: 144.9 kB / 0.5819 GB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.89e-05/0.6624, allocations: 22.61 kB / 0.5819 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.6624, allocations: 0 / 0.5819 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.6625, allocations: 59.08 kB / 0.582 GB, free: 12.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.6625, allocations: 0 / 0.582 GB, free: 12.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001901/0.6627, allocations: 67.39 kB / 0.582 GB, free: 12.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.6627, allocations: 77.11 kB / 0.5821 GB, free: 12.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.998e-05/0.6628, allocations: 89.12 kB / 0.5822 GB, free: 12.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.6628, allocations: 28.89 kB / 0.5822 GB, free: 12.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.6629, allocations: 84.14 kB / 0.5823 GB, free: 12.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.6629, allocations: 0 / 0.5823 GB, free: 12.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.6629, allocations: 0 / 0.5823 GB, free: 12.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.6631, allocations: 314.8 kB / 0.5826 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.659e-06/0.6631, allocations: 0 / 0.5826 GB, free: 12.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-06/0.6631, allocations: 0 / 0.5826 GB, free: 12.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.122e-05/0.6632, allocations: 33.69 kB / 0.5826 GB, free: 12.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6632, allocations: 4.062 kB / 0.5826 GB, free: 12.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001046/0.6633, allocations: 71.12 kB / 0.5827 GB, free: 12.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.6633, allocations: 29.7 kB / 0.5827 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6633, allocations: 0 / 0.5827 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.6634, allocations: 0 / 0.5827 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.997e-06/0.6634, allocations: 0 / 0.5827 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.6634, allocations: 7.875 kB / 0.5827 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.6634, allocations: 4 kB / 0.5828 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.6635, allocations: 7.984 kB / 0.5828 GB, free: 12.05 MB / 394.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.0001176/0.6636, allocations: 143.5 kB / 0.5829 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.6636, allocations: 4 kB / 0.5829 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.632e-05/0.6636, allocations: 3.125 kB / 0.5829 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6636, allocations: 0 / 0.5829 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6636, allocations: 0 / 0.5829 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.6637, allocations: 0 / 0.5829 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.6638, allocations: 149.6 kB / 0.583 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.6638, allocations: 4 kB / 0.583 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-07/0.6638, allocations: 0 / 0.583 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6638, allocations: 0 / 0.583 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.6638, allocations: 7.062 kB / 0.5831 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6638, allocations: 0 / 0.5831 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6639, allocations: 0 / 0.5831 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.664, allocations: 98.47 kB / 0.5831 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.664, allocations: 77.11 kB / 0.5832 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.6641, allocations: 0 / 0.5832 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.278e-05/0.6641, allocations: 0 / 0.5832 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.6641, allocations: 4 kB / 0.5832 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.6641, allocations: 4.031 kB / 0.5832 GB, free: 11.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.96e-05/0.6642, allocations: 75.28 kB / 0.5833 GB, free: 11.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6642, allocations: 0 / 0.5833 GB, free: 11.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007445/0.6649, allocations: 146.5 kB / 0.5834 GB, free: 11.25 MB / 394.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.001314/0.6663, allocations: 485.3 kB / 0.5839 GB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.6664, allocations: 67.33 kB / 0.584 GB, free: 10.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6664, allocations: 0 / 0.584 GB, free: 10.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.6664, allocations: 62.84 kB / 0.584 GB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.6666, allocations: 8.078 kB / 0.584 GB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001894/0.6668, allocations: 70.75 kB / 0.5841 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.6671, allocations: 0.6731 MB / 0.5848 GB, free: 9.871 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.312e-06/0.6671, allocations: 0 / 0.5848 GB, free: 9.871 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.6671, allocations: 11.44 kB / 0.5848 GB, free: 9.859 MB / 394.7 MB Notification: Performance of SimCode: time 2.164e-06/0.6671, allocations: 0 / 0.5848 GB, free: 9.859 MB / 394.7 MB Notification: Performance of Templates: time 0.007235/0.6744, allocations: 2.792 MB / 0.5875 GB, free: 7.082 MB / 394.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)