Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001674/0.001674, allocations: 122.5 kB / 18.51 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002033/0.002033, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 230.4 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2368/0.2368, allocations: 46.93 MB / 357.7 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003236/0.003236, allocations: 87.86 kB / 0.4916 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1239, allocations: 66.04 MB / 0.5561 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001623/0.1256, allocations: 486 kB / 0.5566 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.1282, allocations: 1.302 MB / 0.5579 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.505e-05/0.1282, allocations: 0 / 0.5579 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.1283, allocations: 0 / 0.5579 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.092e-06/0.1283, allocations: 4 kB / 0.5579 GB, free: 3.766 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Utilities.mo:4:3-219:14:writable] Warning: Pure function 'ModelicaTest.Utilities.Strings' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.1298, allocations: 0.5842 MB / 0.5584 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.737e-05/0.1298, allocations: 3.938 kB / 0.5585 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.1299, allocations: 0 / 0.5585 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.739e-05/0.1299, allocations: 11.92 kB / 0.5585 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.738e-05/0.1299, allocations: 0 / 0.5585 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.3e-06/0.1299, allocations: 0 / 0.5585 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01707/0.147, allocations: 2.53 MB / 0.5609 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.147, allocations: 0 / 0.5609 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.147, allocations: 4 kB / 0.5609 GB, free: 1.145 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.1475, allocations: 159.6 kB / 0.5611 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1475, allocations: 0 / 0.5611 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1475, allocations: 0 / 0.5611 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1475, allocations: 0 / 0.5611 GB, free: 0.9883 MB / 414.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.0004536/0.1479, allocations: 384.9 kB / 0.5615 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.148, allocations: 12.03 kB / 0.5615 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.148, allocations: 34.75 kB / 0.5615 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.1481, allocations: 0.9375 kB / 0.5615 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.1482, allocations: 164.3 kB / 0.5617 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1482, allocations: 4.312 kB / 0.5617 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.1482, allocations: 4.375 kB / 0.5617 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.668e-05/0.1483, allocations: 30.27 kB / 0.5617 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1483, allocations: 3.938 kB / 0.5617 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1484, allocations: 3.984 kB / 0.5617 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1484, allocations: 0 / 0.5617 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.21e-05/0.1484, allocations: 8 kB / 0.5617 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.1485, allocations: 145.7 kB / 0.5619 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.137e-05/0.1486, allocations: 22.55 kB / 0.5619 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.1486, allocations: 4.859 kB / 0.5619 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.343e-06/0.1486, allocations: 0 / 0.5619 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.468e-05/0.1487, allocations: 64.2 kB / 0.5619 GB, free: 15.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1487, allocations: 0 / 0.5619 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001843/0.1489, allocations: 71.39 kB / 0.562 GB, free: 15.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.1489, allocations: 77.11 kB / 0.5621 GB, free: 15.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.149, allocations: 89.86 kB / 0.5622 GB, free: 15.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.149, allocations: 29.7 kB / 0.5622 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.1491, allocations: 84.08 kB / 0.5623 GB, free: 15.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.1491, allocations: 7.938 kB / 0.5623 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.1491, allocations: 17.7 kB / 0.5623 GB, free: 15.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1493, allocations: 315 kB / 0.5626 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.819e-06/0.1493, allocations: 4 kB / 0.5626 GB, free: 15.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-06/0.1493, allocations: 0 / 0.5626 GB, free: 15.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.86e-05/0.1494, allocations: 60.27 kB / 0.5627 GB, free: 15.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1494, allocations: 0 / 0.5627 GB, free: 15.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.278e-05/0.1494, allocations: 67.39 kB / 0.5627 GB, free: 15.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.822e-05/0.1495, allocations: 33.14 kB / 0.5628 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1495, allocations: 3.938 kB / 0.5628 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1495, allocations: 0 / 0.5628 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.021e-06/0.1495, allocations: 4.094 kB / 0.5628 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1495, allocations: 7.938 kB / 0.5628 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.851e-05/0.1495, allocations: 3.953 kB / 0.5628 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.1495, allocations: 0 / 0.5628 GB, free: 14.98 MB / 430.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.0001042/0.1497, allocations: 135.5 kB / 0.5629 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-06/0.1497, allocations: 0 / 0.5629 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.292e-05/0.1497, allocations: 11.05 kB / 0.5629 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1497, allocations: 3.938 kB / 0.5629 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1497, allocations: 0 / 0.5629 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1497, allocations: 4 kB / 0.5629 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.1498, allocations: 149.7 kB / 0.5631 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1498, allocations: 0 / 0.5631 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.1498, allocations: 0 / 0.5631 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1498, allocations: 0 / 0.5631 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1498, allocations: 3.938 kB / 0.5631 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.1498, allocations: 3.984 kB / 0.5631 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1498, allocations: 0 / 0.5631 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.1499, allocations: 94.83 kB / 0.5632 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.15, allocations: 77.11 kB / 0.5632 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.15, allocations: 7.922 kB / 0.5632 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.181e-05/0.15, allocations: 7.938 kB / 0.5633 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.15, allocations: 0 / 0.5633 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.15, allocations: 0 / 0.5633 GB, free: 14.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.905e-05/0.1501, allocations: 75.28 kB / 0.5633 GB, free: 14.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1501, allocations: 3.938 kB / 0.5633 GB, free: 14.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.1504, allocations: 71.86 kB / 0.5634 GB, free: 14.24 MB / 430.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.001487/0.1519, allocations: 0.9162 MB / 0.5643 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.152, allocations: 63.34 kB / 0.5644 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.152, allocations: 0 / 0.5644 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.1521, allocations: 59.41 kB / 0.5644 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.1522, allocations: 0 / 0.5644 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/0.1526, allocations: 138.6 kB / 0.5645 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.1529, allocations: 0.6729 MB / 0.5652 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.891e-06/0.1529, allocations: 0 / 0.5652 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.579e-05/0.1529, allocations: 7.438 kB / 0.5652 GB, free: 12.32 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1529, allocations: 4.125 kB / 0.5652 GB, free: 12.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.1815, allocations: 3.132 MB / 0.5683 GB, free: 9.266 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.352, allocations: 6.172 kB / 0.5683 GB, free: 9.262 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.434501358307898] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.420114951673895 8.433236645 8.283011117 Calling exit ...