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.002117/0.002122, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.966/1.966, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 98.56 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2926/0.2926, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.937e-05/1.947e-05, allocations: 0 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3981, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.5591, allocations: 87.07 MB / 0.5509 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.5594, allocations: 55.48 kB / 0.551 GB, free: 12.18 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06756/0.627, allocations: 16.86 MB / 0.5674 GB, free: 11.31 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.627, allocations: 0 / 0.5674 GB, free: 11.31 MB / 411.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.627, allocations: 0 / 0.5674 GB, free: 11.31 MB / 411.1 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.0008813/0.6279, allocations: 480 kB / 0.5679 GB, free: 10.79 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.628, allocations: 16.03 kB / 0.5679 GB, free: 10.77 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.628, allocations: 11.94 kB / 0.5679 GB, free: 10.76 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.6282, allocations: 159.1 kB / 0.5681 GB, free: 10.57 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.6282, allocations: 0 / 0.5681 GB, free: 10.57 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.6282, allocations: 0 / 0.5681 GB, free: 10.57 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.413e-05/0.6283, allocations: 7.938 kB / 0.5681 GB, free: 10.56 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.346e-05/0.6283, allocations: 29.7 kB / 0.5681 GB, free: 10.52 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.6283, allocations: 3.984 kB / 0.5681 GB, free: 10.52 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.6284, allocations: 0 / 0.5681 GB, free: 10.52 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.6284, allocations: 7.891 kB / 0.5681 GB, free: 10.51 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.6285, allocations: 130.2 kB / 0.5682 GB, free: 10.35 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.749e-05/0.6286, allocations: 18.61 kB / 0.5683 GB, free: 10.32 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.6286, allocations: 4.859 kB / 0.5683 GB, free: 10.31 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.6286, allocations: 0 / 0.5683 GB, free: 10.31 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.986e-05/0.6287, allocations: 64.27 kB / 0.5683 GB, free: 10.23 MB / 411.1 MB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/0.6287, allocations: 3.938 kB / 0.5683 GB, free: 10.23 MB / 411.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001769/0.6289, allocations: 33.7 kB / 0.5684 GB, free: 10.19 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.629, allocations: 81.14 kB / 0.5684 GB, free: 10.09 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.902e-05/0.629, allocations: 88.98 kB / 0.5685 GB, free: 10 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.6291, allocations: 25.7 kB / 0.5686 GB, free: 9.969 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.6291, allocations: 154.6 kB / 0.5687 GB, free: 9.816 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.6292, allocations: 0 / 0.5687 GB, free: 9.816 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.6292, allocations: 0 / 0.5687 GB, free: 9.816 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6293, allocations: 314.8 kB / 0.569 GB, free: 9.5 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.6293, allocations: 0 / 0.569 GB, free: 9.5 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-06/0.6294, allocations: 4 kB / 0.569 GB, free: 9.496 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.67e-05/0.6294, allocations: 4 kB / 0.569 GB, free: 9.492 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6294, allocations: 0 / 0.569 GB, free: 9.492 MB / 411.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.221e-05/0.6295, allocations: 41.55 kB / 0.569 GB, free: 9.445 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.028e-05/0.6296, allocations: 37.69 kB / 0.5691 GB, free: 9.402 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.6296, allocations: 0 / 0.5691 GB, free: 9.402 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.6296, allocations: 0 / 0.5691 GB, free: 9.402 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.074e-06/0.6296, allocations: 0 / 0.5691 GB, free: 9.402 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.6296, allocations: 0 / 0.5691 GB, free: 9.402 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.6297, allocations: 96 / 0.5691 GB, free: 9.402 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.6297, allocations: 4 kB / 0.5691 GB, free: 9.398 MB / 411.1 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.63e-05/0.6298, allocations: 134.6 kB / 0.5692 GB, free: 9.254 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-06/0.6298, allocations: 0 / 0.5692 GB, free: 9.254 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.301e-05/0.6298, allocations: 3.75 kB / 0.5692 GB, free: 9.25 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.6298, allocations: 0 / 0.5692 GB, free: 9.25 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.6299, allocations: 4 kB / 0.5692 GB, free: 9.246 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.6299, allocations: 0 / 0.5692 GB, free: 9.246 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.63, allocations: 126.2 kB / 0.5693 GB, free: 9.086 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.63, allocations: 3.953 kB / 0.5693 GB, free: 9.082 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-06/0.63, allocations: 4 kB / 0.5694 GB, free: 9.078 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.63, allocations: 3.938 kB / 0.5694 GB, free: 9.074 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.63, allocations: 4 kB / 0.5694 GB, free: 9.07 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6301, allocations: 0 / 0.5694 GB, free: 9.07 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6301, allocations: 0 / 0.5694 GB, free: 9.07 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.6302, allocations: 69.05 kB / 0.5694 GB, free: 8.984 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.6303, allocations: 81.06 kB / 0.5695 GB, free: 8.887 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.6303, allocations: 4 kB / 0.5695 GB, free: 8.883 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.474e-05/0.6303, allocations: 8.031 kB / 0.5695 GB, free: 8.875 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.6303, allocations: 0 / 0.5695 GB, free: 8.875 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.6303, allocations: 0 / 0.5695 GB, free: 8.875 MB / 411.1 MB Notification: Performance of sorting global known variables: time 3.925e-05/0.6304, allocations: 75.28 kB / 0.5696 GB, free: 8.801 MB / 411.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6304, allocations: 0 / 0.5696 GB, free: 8.801 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.000785/0.6312, allocations: 147.8 kB / 0.5697 GB, free: 8.656 MB / 411.1 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.001432/0.6327, allocations: 481 kB / 0.5702 GB, free: 8.199 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.6328, allocations: 59.34 kB / 0.5702 GB, free: 8.129 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6328, allocations: 0 / 0.5702 GB, free: 8.129 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 4.575e-05/0.6329, allocations: 55.41 kB / 0.5703 GB, free: 8.062 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.633, allocations: 7.781 kB / 0.5703 GB, free: 8.059 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001685/0.6332, allocations: 73.77 kB / 0.5704 GB, free: 7.957 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.6335, allocations: 0.6808 MB / 0.571 GB, free: 7.25 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.6335, allocations: 11.38 kB / 0.571 GB, free: 7.238 MB / 411.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6335, allocations: 0 / 0.571 GB, free: 7.238 MB / 411.1 MB Notification: Performance of Templates: time 0.008594/0.6421, allocations: 3.03 MB / 0.574 GB, free: 4.203 MB / 411.1 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)