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.001573/0.001572, allocations: 101.3 kB / 16.4 MB, free: 6.457 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.00138/0.00138, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.618/1.618, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2482/0.2482, allocations: 43.52 MB / 314.1 MB, free: 456 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.00306/0.00306, allocations: 73.45 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1209, allocations: 57.78 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001747/0.1227, allocations: 498.8 kB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.1254, allocations: 1.288 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.1255, allocations: 0 / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.1255, allocations: 4 kB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.324e-06/0.1255, allocations: 4 kB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.1273, allocations: 0.5726 MB / 0.4897 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.19e-05/0.1274, allocations: 0 / 0.4897 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.1275, allocations: 0 / 0.4897 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.868e-05/0.1275, allocations: 4 kB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.877e-05/0.1275, allocations: 3.984 kB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-06/0.1275, allocations: 3.938 kB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01697/0.1445, allocations: 2.536 MB / 0.4922 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.1445, allocations: 4 kB / 0.4922 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.1446, allocations: 3.984 kB / 0.4922 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.145, allocations: 159.7 kB / 0.4923 GB, free: 7.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.145, allocations: 4 kB / 0.4923 GB, free: 7.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.145, allocations: 0 / 0.4923 GB, free: 7.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.145, allocations: 0 / 0.4923 GB, free: 7.293 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.0004272/0.1454, allocations: 376.9 kB / 0.4927 GB, free: 6.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1455, allocations: 15.89 kB / 0.4927 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.1455, allocations: 34.75 kB / 0.4927 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.1456, allocations: 4.922 kB / 0.4927 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.1457, allocations: 168.3 kB / 0.4929 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1457, allocations: 384 / 0.4929 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-06/0.1457, allocations: 384 / 0.4929 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.729e-05/0.1458, allocations: 33.64 kB / 0.4929 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1458, allocations: 0 / 0.4929 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1458, allocations: 0 / 0.4929 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1458, allocations: 7.938 kB / 0.4929 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.698e-05/0.1459, allocations: 0 / 0.4929 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.146, allocations: 149.7 kB / 0.4931 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.234e-05/0.1461, allocations: 14.58 kB / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.1461, allocations: 12.95 kB / 0.4931 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.1461, allocations: 3.938 kB / 0.4931 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/0.1462, allocations: 56.27 kB / 0.4932 GB, free: 6.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1462, allocations: 4 kB / 0.4932 GB, free: 6.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001732/0.1463, allocations: 67.33 kB / 0.4932 GB, free: 6.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.1464, allocations: 77.11 kB / 0.4933 GB, free: 6.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.944e-05/0.1465, allocations: 89.86 kB / 0.4934 GB, free: 5.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1465, allocations: 25.7 kB / 0.4934 GB, free: 5.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.1465, allocations: 84.14 kB / 0.4935 GB, free: 5.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.1465, allocations: 11.89 kB / 0.4935 GB, free: 5.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.1466, allocations: 9.719 kB / 0.4935 GB, free: 5.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1467, allocations: 319 kB / 0.4938 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.1467, allocations: 8 kB / 0.4938 GB, free: 5.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-06/0.1468, allocations: 3.984 kB / 0.4938 GB, free: 5.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.255e-05/0.1468, allocations: 64.2 kB / 0.4939 GB, free: 5.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1468, allocations: 0 / 0.4939 GB, free: 5.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.2e-05/0.1469, allocations: 67.28 kB / 0.494 GB, free: 5.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.1469, allocations: 33.7 kB / 0.494 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.147, allocations: 0 / 0.494 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.147, allocations: 8.078 kB / 0.494 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.147, allocations: 0 / 0.494 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.147, allocations: 0 / 0.494 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.471e-05/0.147, allocations: 0 / 0.494 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.147, allocations: 4 kB / 0.494 GB, free: 5.293 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 8.686e-05/0.1471, allocations: 139.5 kB / 0.4941 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.1471, allocations: 3.938 kB / 0.4941 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.162e-05/0.1471, allocations: 7.125 kB / 0.4941 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1472, allocations: 0 / 0.4941 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1472, allocations: 4 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1472, allocations: 0 / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.1473, allocations: 149.7 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1473, allocations: 0 / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-06/0.1473, allocations: 3.938 kB / 0.4943 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1473, allocations: 4 kB / 0.4943 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.1473, allocations: 0 / 0.4943 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1473, allocations: 0 / 0.4943 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1473, allocations: 3.938 kB / 0.4943 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.1474, allocations: 94.83 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.1475, allocations: 81.05 kB / 0.4945 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.1475, allocations: 0 / 0.4945 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-06/0.1475, allocations: 0 / 0.4945 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.1475, allocations: 7.984 kB / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.1475, allocations: 0 / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.387e-05/0.1476, allocations: 79.27 kB / 0.4946 GB, free: 4.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1476, allocations: 0 / 0.4946 GB, free: 4.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.1479, allocations: 67.81 kB / 0.4946 GB, free: 4.547 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.001323/0.1492, allocations: 0.9134 MB / 0.4955 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.1493, allocations: 59.39 kB / 0.4956 GB, free: 3.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1493, allocations: 0 / 0.4956 GB, free: 3.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.675e-05/0.1494, allocations: 59.41 kB / 0.4956 GB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.1495, allocations: 3.938 kB / 0.4956 GB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.1498, allocations: 150.3 kB / 0.4958 GB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.1501, allocations: 0.669 MB / 0.4964 GB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.063e-06/0.1501, allocations: 0 / 0.4964 GB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.555e-05/0.1501, allocations: 15.38 kB / 0.4964 GB, free: 2.551 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1502, allocations: 0 / 0.4964 GB, free: 2.551 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.1762, allocations: 3.085 MB / 0.4994 GB, free: 15.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/8.414, allocations: 3.984 kB / 0.4995 GB, free: 15.43 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)