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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 112.8 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 190.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2094/0.2094, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 63.91 kB / 441.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1102, allocations: 57.79 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.00184/0.112, allocations: 490.8 kB / 499.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.1145, allocations: 1.292 MB / 0.4891 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.966e-05/0.1146, allocations: 0 / 0.4891 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.1146, allocations: 0 / 0.4891 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.1146, allocations: 0 / 0.4891 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.1164, allocations: 0.5803 MB / 0.4897 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.267e-05/0.1165, allocations: 8 kB / 0.4897 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.962e-05/0.1166, allocations: 3.984 kB / 0.4897 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.473e-05/0.1166, allocations: 0 / 0.4897 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.017e-05/0.1166, allocations: 0 / 0.4897 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.071e-06/0.1166, allocations: 0 / 0.4897 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01333/0.13, allocations: 2.528 MB / 0.4922 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.13, allocations: 4 kB / 0.4922 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.13, allocations: 0 / 0.4922 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.1305, allocations: 163.7 kB / 0.4923 GB, free: 7.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1305, allocations: 0 / 0.4923 GB, free: 7.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1305, allocations: 0 / 0.4923 GB, free: 7.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.1306, allocations: 0 / 0.4923 GB, free: 7.32 MB / 382.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.0004993/0.1311, allocations: 392.3 kB / 0.4927 GB, free: 6.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.1311, allocations: 11.89 kB / 0.4927 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.868e-05/0.1312, allocations: 30.75 kB / 0.4927 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.1312, allocations: 4.938 kB / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.324e-05/0.1313, allocations: 168.3 kB / 0.4929 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1313, allocations: 4.312 kB / 0.4929 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.1313, allocations: 4.375 kB / 0.4929 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.628e-05/0.1315, allocations: 29.64 kB / 0.4929 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1315, allocations: 0 / 0.4929 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.1315, allocations: 0 / 0.4929 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1315, allocations: 4 kB / 0.4929 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.296e-05/0.1315, allocations: 3.984 kB / 0.4929 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.1317, allocations: 149.7 kB / 0.4931 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.279e-05/0.1317, allocations: 22.55 kB / 0.4931 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.1318, allocations: 8.844 kB / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.1318, allocations: 7.875 kB / 0.4931 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.1318, allocations: 56.27 kB / 0.4932 GB, free: 6.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1318, allocations: 64 / 0.4932 GB, free: 6.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001928/0.132, allocations: 67.39 kB / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.1321, allocations: 85.23 kB / 0.4933 GB, free: 6.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.123e-05/0.1321, allocations: 89.86 kB / 0.4934 GB, free: 5.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1322, allocations: 25.7 kB / 0.4934 GB, free: 5.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.877e-05/0.1322, allocations: 80.14 kB / 0.4935 GB, free: 5.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.1322, allocations: 3.953 kB / 0.4935 GB, free: 5.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.1323, allocations: 13.72 kB / 0.4935 GB, free: 5.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1324, allocations: 322.8 kB / 0.4938 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.1324, allocations: 4 kB / 0.4938 GB, free: 5.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-06/0.1324, allocations: 4 kB / 0.4938 GB, free: 5.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.344e-05/0.1325, allocations: 60.27 kB / 0.4939 GB, free: 5.441 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.1325, allocations: 0 / 0.4939 GB, free: 5.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.241e-05/0.1326, allocations: 71.27 kB / 0.494 GB, free: 5.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/0.1326, allocations: 33.61 kB / 0.494 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.1327, allocations: 0 / 0.494 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1327, allocations: 4 kB / 0.494 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.1327, allocations: 0 / 0.494 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1327, allocations: 0 / 0.494 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.1327, allocations: 4.094 kB / 0.494 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.1327, allocations: 3.938 kB / 0.494 GB, free: 5.309 MB / 382.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.1329, allocations: 143.5 kB / 0.4941 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.1329, allocations: 3.938 kB / 0.4941 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.472e-05/0.1329, allocations: 7.109 kB / 0.4941 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1329, allocations: 0 / 0.4941 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1329, allocations: 0 / 0.4941 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1329, allocations: 0 / 0.4941 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.962e-05/0.133, allocations: 145.7 kB / 0.4943 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.133, allocations: 4 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-06/0.133, allocations: 3.938 kB / 0.4943 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.133, allocations: 0 / 0.4943 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.133, allocations: 0 / 0.4943 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1331, allocations: 0 / 0.4943 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.1331, allocations: 11.98 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.548e-05/0.1332, allocations: 82.84 kB / 0.4944 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.1332, allocations: 81.05 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1332, allocations: 12.02 kB / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.003e-05/0.1332, allocations: 0 / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.1333, allocations: 3.938 kB / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.1333, allocations: 0 / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.776e-05/0.1333, allocations: 79.22 kB / 0.4946 GB, free: 4.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1333, allocations: 0 / 0.4946 GB, free: 4.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.1336, allocations: 75.8 kB / 0.4946 GB, free: 4.555 MB / 382.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) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001087/0.1347, allocations: 0.8979 MB / 0.4955 GB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.884e-05/0.1348, allocations: 63.39 kB / 0.4956 GB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1348, allocations: 0 / 0.4956 GB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.815e-05/0.1349, allocations: 59.34 kB / 0.4956 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.135, allocations: 4 kB / 0.4956 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.1353, allocations: 142.3 kB / 0.4958 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.1356, allocations: 0.6768 MB / 0.4964 GB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.261e-06/0.1356, allocations: 4.125 kB / 0.4964 GB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.1356, allocations: 7.438 kB / 0.4964 GB, free: 2.574 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1356, allocations: 0 / 0.4964 GB, free: 2.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.1559, allocations: 3.085 MB / 0.4994 GB, free: 15.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.311, allocations: 7.922 kB / 0.4995 GB, free: 15.45 MB / 398.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe 2>&1)