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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 107.5 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 227 kB / 23.01 MB, free: 5.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 207.6 MB / 233.8 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2298/0.2298, allocations: 44.24 MB / 330.3 MB, free: 9.605 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 71.89 kB / 467.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1286, allocations: 61.05 MB / 0.5161 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001879/0.1305, allocations: 499 kB / 0.5166 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.1333, allocations: 1.33 MB / 0.5179 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.1333, allocations: 0 / 0.5179 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.1333, allocations: 0 / 0.5179 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.544e-06/0.1333, allocations: 0 / 0.5179 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.1355, allocations: 0.5804 MB / 0.5185 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.059e-05/0.1355, allocations: 7.938 kB / 0.5185 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.1356, allocations: 3.938 kB / 0.5185 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.828e-05/0.1356, allocations: 0 / 0.5185 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.841e-05/0.1356, allocations: 4 kB / 0.5185 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.1356, allocations: 0 / 0.5185 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01758/0.1532, allocations: 2.533 MB / 0.521 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.1532, allocations: 0 / 0.521 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.1533, allocations: 4 kB / 0.521 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.1538, allocations: 175.5 kB / 0.5211 GB, free: 2.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1538, allocations: 0 / 0.5211 GB, free: 2.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1538, allocations: 0 / 0.5211 GB, free: 2.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1538, allocations: 0 / 0.5211 GB, free: 2.289 MB / 398.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.0004445/0.1542, allocations: 307.8 kB / 0.5214 GB, free: 1.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.1543, allocations: 8.031 kB / 0.5214 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.1543, allocations: 30.75 kB / 0.5215 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.1544, allocations: 4.938 kB / 0.5215 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.1545, allocations: 106.5 kB / 0.5216 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1545, allocations: 4.375 kB / 0.5216 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.1545, allocations: 384 / 0.5216 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.1546, allocations: 37.64 kB / 0.5216 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1546, allocations: 0 / 0.5216 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1546, allocations: 0 / 0.5216 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1546, allocations: 0 / 0.5216 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.218e-05/0.1546, allocations: 3.938 kB / 0.5216 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.1548, allocations: 120.8 kB / 0.5217 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.148e-05/0.1548, allocations: 22.56 kB / 0.5217 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.1549, allocations: 12.95 kB / 0.5218 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.1549, allocations: 3.938 kB / 0.5218 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.852e-05/0.1549, allocations: 56.27 kB / 0.5218 GB, free: 1.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1549, allocations: 3.938 kB / 0.5218 GB, free: 1.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002026/0.1551, allocations: 63.34 kB / 0.5219 GB, free: 1.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.1552, allocations: 81.09 kB / 0.522 GB, free: 1.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.476e-05/0.1553, allocations: 93.98 kB / 0.5221 GB, free: 1.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1553, allocations: 25.7 kB / 0.5221 GB, free: 1.133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.1553, allocations: 84.14 kB / 0.5222 GB, free: 1.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.1553, allocations: 7.953 kB / 0.5222 GB, free: 1.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.1554, allocations: 9.719 kB / 0.5222 GB, free: 1.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1555, allocations: 310.8 kB / 0.5225 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.1555, allocations: 4 kB / 0.5225 GB, free: 0.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-06/0.1555, allocations: 0 / 0.5225 GB, free: 0.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.679e-05/0.1556, allocations: 64.33 kB / 0.5225 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1556, allocations: 0 / 0.5225 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.799e-05/0.1557, allocations: 75.27 kB / 0.5226 GB, free: 0.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.1557, allocations: 29.7 kB / 0.5226 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1557, allocations: 0 / 0.5226 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1557, allocations: 0 / 0.5226 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.183e-06/0.1557, allocations: 0 / 0.5226 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1558, allocations: 0 / 0.5226 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.668e-05/0.1558, allocations: 7.938 kB / 0.5226 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1558, allocations: 0 / 0.5226 GB, free: 0.5 MB / 398.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.0001125/0.1559, allocations: 139.6 kB / 0.5228 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.1559, allocations: 7.938 kB / 0.5228 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.858e-06/0.1559, allocations: 6.984 kB / 0.5228 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1559, allocations: 0 / 0.5228 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1559, allocations: 0 / 0.5228 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1559, allocations: 0 / 0.5228 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.156, allocations: 120.8 kB / 0.5229 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.156, allocations: 4 kB / 0.5229 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-06/0.156, allocations: 3.938 kB / 0.5229 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.156, allocations: 4 kB / 0.5229 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.156, allocations: 0 / 0.5229 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.156, allocations: 0 / 0.5229 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.156, allocations: 0 / 0.5229 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.1562, allocations: 94.77 kB / 0.523 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.1562, allocations: 3.938 kB / 0.523 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1562, allocations: 0 / 0.523 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.185e-05/0.1562, allocations: 8.031 kB / 0.523 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.1562, allocations: 0 / 0.523 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.1562, allocations: 4 kB / 0.523 GB, free: 32 kB / 398.1 MB Notification: Performance of sorting global known variables: time 6.075e-05/0.1563, allocations: 75.28 kB / 0.5231 GB, free: 15.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1563, allocations: 0 / 0.5231 GB, free: 15.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003431/0.1566, allocations: 75.73 kB / 0.5232 GB, free: 15.88 MB / 414.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.001502/0.1581, allocations: 0.9172 MB / 0.5241 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.1583, allocations: 59.41 kB / 0.5241 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1583, allocations: 0 / 0.5241 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.927e-05/0.1583, allocations: 59.41 kB / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.1585, allocations: 7.984 kB / 0.5242 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.1589, allocations: 142.2 kB / 0.5243 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.1592, allocations: 0.6729 MB / 0.525 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.522e-06/0.1592, allocations: 0 / 0.525 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.1592, allocations: 7.562 kB / 0.525 GB, free: 13.89 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1592, allocations: 4 kB / 0.525 GB, free: 13.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.1929, allocations: 3.207 MB / 0.5281 GB, free: 10.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.09, allocations: 3.984 kB / 0.5281 GB, free: 10.64 MB / 414.1 MB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.270079455003724] Failed to read output from testmodel.py, exit status != 0: 11.195656304000295 11.394912065 11.237887806 Calling exit ...