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.0009457/0.000946, allocations: 177.4 kB / 17.41 MB, free: 4.285 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.225/1.225, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0007569/0.000757, allocations: 96.5 kB / 271.9 MB, free: 8.246 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.2891/0.2891, allocations: 43.55 MB / 363.8 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003435, allocations: 11.98 kB / 432.6 MB, free: 5.863 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1113, allocations: 58.85 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2699/0.3813, allocations: 87.85 MB / 0.5657 GB, free: 14.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.3815, allocations: 63.97 kB / 0.5658 GB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0412/0.4227, allocations: 19.43 MB / 0.5847 GB, free: 11.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4228, allocations: 0 / 0.5847 GB, free: 11.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.4228, allocations: 0 / 0.5847 GB, free: 11.09 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.0006081/0.4234, allocations: 481.1 kB / 0.5852 GB, free: 10.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.4234, allocations: 8.031 kB / 0.5852 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.4235, allocations: 7.656 kB / 0.5852 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.096e-05/0.4236, allocations: 164.4 kB / 0.5854 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.4236, allocations: 4.375 kB / 0.5854 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.4236, allocations: 4.375 kB / 0.5854 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.857e-05/0.4237, allocations: 34.25 kB / 0.5854 GB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.4237, allocations: 192 / 0.5854 GB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.4237, allocations: 3.938 kB / 0.5854 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.4237, allocations: 0 / 0.5854 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.377e-05/0.4238, allocations: 7.875 kB / 0.5854 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.4239, allocations: 145.7 kB / 0.5856 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.366e-05/0.4239, allocations: 22.56 kB / 0.5856 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.262e-05/0.4239, allocations: 4.859 kB / 0.5856 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.424, allocations: 4 kB / 0.5856 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.424, allocations: 64.34 kB / 0.5857 GB, free: 9.984 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.424, allocations: 0 / 0.5857 GB, free: 9.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001451/0.4242, allocations: 67.28 kB / 0.5857 GB, free: 9.906 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.4242, allocations: 77.11 kB / 0.5858 GB, free: 9.812 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.585e-05/0.4243, allocations: 93.98 kB / 0.5859 GB, free: 9.711 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.4243, allocations: 25.7 kB / 0.5859 GB, free: 9.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.265e-05/0.4243, allocations: 80.14 kB / 0.586 GB, free: 9.598 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.4243, allocations: 7.906 kB / 0.586 GB, free: 9.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/0.4243, allocations: 0 / 0.586 GB, free: 9.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4244, allocations: 318.8 kB / 0.5863 GB, free: 9.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.775e-06/0.4245, allocations: 0 / 0.5863 GB, free: 9.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-06/0.4245, allocations: 0 / 0.5863 GB, free: 9.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.234e-05/0.4245, allocations: 64.33 kB / 0.5864 GB, free: 9.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4245, allocations: 0 / 0.5864 GB, free: 9.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.44e-05/0.4246, allocations: 67.34 kB / 0.5864 GB, free: 9.113 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.4246, allocations: 33.69 kB / 0.5865 GB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4246, allocations: 0.75 kB / 0.5865 GB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.4247, allocations: 3.938 kB / 0.5865 GB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.4247, allocations: 0 / 0.5865 GB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.4247, allocations: 4 kB / 0.5865 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.169e-05/0.4247, allocations: 0 / 0.5865 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.4247, allocations: 0 / 0.5865 GB, free: 9.066 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.56e-05/0.4248, allocations: 135.6 kB / 0.5866 GB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.4248, allocations: 4 kB / 0.5866 GB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.128e-05/0.4248, allocations: 11 kB / 0.5866 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.4248, allocations: 0 / 0.5866 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4248, allocations: 3.984 kB / 0.5866 GB, free: 8.902 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.4248, allocations: 0 / 0.5866 GB, free: 8.902 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.259e-05/0.4249, allocations: 141.7 kB / 0.5867 GB, free: 8.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4249, allocations: 8 kB / 0.5868 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-06/0.4249, allocations: 0 / 0.5868 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4249, allocations: 7.938 kB / 0.5868 GB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.425, allocations: 3.938 kB / 0.5868 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.425, allocations: 0 / 0.5868 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.425, allocations: 0 / 0.5868 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.311e-05/0.4251, allocations: 94.77 kB / 0.5869 GB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.4251, allocations: 81.11 kB / 0.5869 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.4251, allocations: 3.938 kB / 0.5869 GB, free: 8.477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.221e-05/0.4251, allocations: 12.02 kB / 0.5869 GB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.4252, allocations: 0 / 0.5869 GB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.4252, allocations: 0 / 0.5869 GB, free: 8.465 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.293e-05/0.4252, allocations: 75.28 kB / 0.587 GB, free: 8.391 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4252, allocations: 0 / 0.587 GB, free: 8.391 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006779/0.4259, allocations: 247.8 kB / 0.5873 GB, free: 8.148 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.001313/0.4272, allocations: 0.6468 MB / 0.5879 GB, free: 7.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.32e-05/0.4273, allocations: 63.34 kB / 0.5879 GB, free: 7.496 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4273, allocations: 0 / 0.5879 GB, free: 7.496 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.485e-05/0.4273, allocations: 59.39 kB / 0.588 GB, free: 7.426 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.4275, allocations: 4 kB / 0.588 GB, free: 7.422 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000148/0.4276, allocations: 99.22 kB / 0.5881 GB, free: 7.293 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.4278, allocations: 0.677 MB / 0.5888 GB, free: 6.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.4279, allocations: 11.44 kB / 0.5888 GB, free: 6.578 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4279, allocations: 0 / 0.5888 GB, free: 6.578 MB / 410.7 MB Notification: Performance of Templates: time 0.006726/0.4346, allocations: 4.298 MB / 0.593 GB, free: 2.273 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)