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: "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001413, allocations: 177.8 kB / 8.358 MB, free: 0.7188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.312/2.312, 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.001087/0.001087, allocations: 83.17 kB / 262.1 MB, free: 13.87 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.2889/0.2889, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.021e-05, allocations: 4 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4085, allocations: 58.85 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.5718, allocations: 87.06 MB / 0.551 GB, free: 12.12 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.5722, allocations: 67.95 kB / 0.5511 GB, free: 12.05 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06824/0.6404, allocations: 16.87 MB / 0.5675 GB, free: 11.17 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6405, allocations: 0 / 0.5675 GB, free: 11.17 MB / 411.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.6405, allocations: 0 / 0.5675 GB, free: 11.17 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.0008604/0.6414, allocations: 496 kB / 0.568 GB, free: 10.63 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.6414, allocations: 8.031 kB / 0.568 GB, free: 10.62 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.6415, allocations: 7.953 kB / 0.568 GB, free: 10.62 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.6416, allocations: 163.1 kB / 0.5682 GB, free: 10.42 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.6416, allocations: 0 / 0.5682 GB, free: 10.42 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.6417, allocations: 0 / 0.5682 GB, free: 10.42 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.487e-05/0.6417, allocations: 0 / 0.5682 GB, free: 10.42 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.86e-05/0.6418, allocations: 29.7 kB / 0.5682 GB, free: 10.38 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.6418, allocations: 0 / 0.5682 GB, free: 10.38 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.6418, allocations: 4 kB / 0.5682 GB, free: 10.38 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.6418, allocations: 3.953 kB / 0.5682 GB, free: 10.38 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.642, allocations: 130.2 kB / 0.5683 GB, free: 10.21 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.496e-05/0.642, allocations: 22.59 kB / 0.5684 GB, free: 10.18 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/0.6421, allocations: 4.859 kB / 0.5684 GB, free: 10.17 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.6421, allocations: 0 / 0.5684 GB, free: 10.17 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/0.6422, allocations: 60.27 kB / 0.5684 GB, free: 10.1 MB / 411.1 MB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/0.6422, allocations: 3.938 kB / 0.5684 GB, free: 10.09 MB / 411.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001813/0.6424, allocations: 33.77 kB / 0.5685 GB, free: 10.05 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.6424, allocations: 77.11 kB / 0.5685 GB, free: 9.961 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.756e-05/0.6425, allocations: 85 kB / 0.5686 GB, free: 9.871 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.6425, allocations: 29.7 kB / 0.5686 GB, free: 9.836 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.6426, allocations: 154.5 kB / 0.5688 GB, free: 9.684 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.6426, allocations: 8.562 kB / 0.5688 GB, free: 9.676 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.6426, allocations: 0 / 0.5688 GB, free: 9.676 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.6428, allocations: 318.8 kB / 0.5691 GB, free: 9.355 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.6429, allocations: 0 / 0.5691 GB, free: 9.355 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.6429, allocations: 0 / 0.5691 GB, free: 9.355 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.819e-05/0.6429, allocations: 4 kB / 0.5691 GB, free: 9.352 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6429, allocations: 0 / 0.5691 GB, free: 9.352 MB / 411.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.235e-05/0.643, allocations: 29.7 kB / 0.5691 GB, free: 9.316 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/0.6431, allocations: 33.7 kB / 0.5692 GB, free: 9.277 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6431, allocations: 11.92 kB / 0.5692 GB, free: 9.266 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.6431, allocations: 96 / 0.5692 GB, free: 9.266 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.6431, allocations: 4 kB / 0.5692 GB, free: 9.262 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.6432, allocations: 0 / 0.5692 GB, free: 9.262 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.6432, allocations: 0 / 0.5692 GB, free: 9.262 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.6432, allocations: 0 / 0.5692 GB, free: 9.262 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 0.0001069/0.6433, allocations: 138.6 kB / 0.5693 GB, free: 9.113 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.144e-05/0.6434, allocations: 41.62 kB / 0.5694 GB, free: 9.066 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.6434, allocations: 3.906 kB / 0.5694 GB, free: 9.062 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.351e-05/0.6435, allocations: 3.75 kB / 0.5694 GB, free: 9.059 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.6435, allocations: 8.031 kB / 0.5694 GB, free: 9.051 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.6435, allocations: 0 / 0.5694 GB, free: 9.051 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.6435, allocations: 0 / 0.5694 GB, free: 9.051 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.6436, allocations: 126.2 kB / 0.5695 GB, free: 8.891 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.6436, allocations: 0 / 0.5695 GB, free: 8.891 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.6436, allocations: 0 / 0.5695 GB, free: 8.891 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.6437, allocations: 0 / 0.5695 GB, free: 8.891 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.6437, allocations: 7.984 kB / 0.5695 GB, free: 8.883 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6437, allocations: 0 / 0.5695 GB, free: 8.883 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6437, allocations: 0 / 0.5695 GB, free: 8.883 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.6438, allocations: 69.08 kB / 0.5696 GB, free: 8.797 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.6439, allocations: 77.11 kB / 0.5696 GB, free: 8.703 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.6439, allocations: 7.984 kB / 0.5697 GB, free: 8.695 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.263e-05/0.6439, allocations: 3.938 kB / 0.5697 GB, free: 8.691 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.644, allocations: 0 / 0.5697 GB, free: 8.691 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.644, allocations: 0 / 0.5697 GB, free: 8.691 MB / 411.1 MB Notification: Performance of sorting global known variables: time 3.804e-05/0.644, allocations: 75.28 kB / 0.5697 GB, free: 8.617 MB / 411.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.644, allocations: 3.938 kB / 0.5697 GB, free: 8.613 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0007629/0.6448, allocations: 140 kB / 0.5699 GB, free: 8.477 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.001765/0.6466, allocations: 0.9852 MB / 0.5708 GB, free: 7.48 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.6467, allocations: 59.41 kB / 0.5709 GB, free: 7.41 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.6467, allocations: 0 / 0.5709 GB, free: 7.41 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 4.59e-05/0.6468, allocations: 55.41 kB / 0.5709 GB, free: 7.344 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000112/0.6469, allocations: 6.812 kB / 0.5709 GB, free: 7.344 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005361/0.6475, allocations: 183.2 kB / 0.5711 GB, free: 7.121 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.6478, allocations: 0.6729 MB / 0.5718 GB, free: 6.422 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.6478, allocations: 11.44 kB / 0.5718 GB, free: 6.41 MB / 411.1 MB Notification: Performance of SimCode: time 8.61e-07/0.6479, allocations: 128 / 0.5718 GB, free: 6.41 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.703/3.351, allocations: 3.186 MB / 0.5749 GB, free: 3.223 MB / 411.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestStrings_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.pipe 2>&1)