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.001389/0.001389, allocations: 105 kB / 19.74 MB, free: 2.453 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.001623/0.001623, allocations: 218.3 kB / 22.92 MB, free: 5.195 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.318/1.318, allocations: 230.2 MB / 256.2 MB, free: 8.598 MB / 206.1 MB " [Timeout remaining time 179] 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.2085/0.2085, allocations: 46.88 MB / 359.3 MB, free: 4.965 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.002235/0.002235, allocations: 79.88 kB / 0.494 GB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2635, allocations: 65.98 MB / 0.5584 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001436/0.2649, allocations: 479.5 kB / 0.5588 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.2672, allocations: 1.331 MB / 0.5601 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.203e-05/0.2672, allocations: 0 / 0.5601 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.2673, allocations: 0 / 0.5601 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.2673, allocations: 3.938 kB / 0.5601 GB, free: 3.402 MB / 398.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.001313/0.2686, allocations: 0.5765 MB / 0.5607 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.055e-05/0.2686, allocations: 4 kB / 0.5607 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.054e-05/0.2687, allocations: 0 / 0.5607 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.55e-05/0.2687, allocations: 7.984 kB / 0.5607 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.735e-05/0.2687, allocations: 3.938 kB / 0.5607 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.929e-06/0.2687, allocations: 0 / 0.5607 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01508/0.2838, allocations: 2.547 MB / 0.5632 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.747e-06/0.2838, allocations: 0 / 0.5632 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.2838, allocations: 0 / 0.5632 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.2841, allocations: 159.7 kB / 0.5634 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2841, allocations: 0 / 0.5634 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2841, allocations: 0 / 0.5634 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2841, allocations: 0 / 0.5634 GB, free: 0.6289 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.0003529/0.2845, allocations: 388.9 kB / 0.5637 GB, free: 200 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.2845, allocations: 12.03 kB / 0.5637 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.2845, allocations: 34.75 kB / 0.5638 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.747e-05/0.2846, allocations: 0.9375 kB / 0.5638 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2847, allocations: 164.3 kB / 0.5639 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.2847, allocations: 384 / 0.5639 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.2847, allocations: 8.312 kB / 0.5639 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.107e-05/0.2848, allocations: 29.64 kB / 0.564 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.2848, allocations: 0 / 0.564 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.2848, allocations: 3.938 kB / 0.564 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2848, allocations: 0 / 0.564 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.2848, allocations: 7.984 kB / 0.564 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.2849, allocations: 145.7 kB / 0.5641 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.986e-05/0.285, allocations: 22.61 kB / 0.5641 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.389e-05/0.285, allocations: 8.859 kB / 0.5642 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.285, allocations: 3.938 kB / 0.5642 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.285, allocations: 56.27 kB / 0.5642 GB, free: 15.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.285, allocations: 0 / 0.5642 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001427/0.2852, allocations: 67.39 kB / 0.5643 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.2852, allocations: 81.11 kB / 0.5644 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.499e-05/0.2853, allocations: 89.86 kB / 0.5644 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.2853, allocations: 33.64 kB / 0.5645 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.2853, allocations: 80.14 kB / 0.5646 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.2853, allocations: 0 / 0.5646 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.2853, allocations: 9.719 kB / 0.5646 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2855, allocations: 318.8 kB / 0.5649 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-06/0.2855, allocations: 4.125 kB / 0.5649 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-06/0.2855, allocations: 4 kB / 0.5649 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.061e-05/0.2855, allocations: 64.27 kB / 0.5649 GB, free: 14.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2855, allocations: 0 / 0.5649 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.694e-05/0.2856, allocations: 63.34 kB / 0.565 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.2856, allocations: 33.69 kB / 0.565 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.2856, allocations: 0 / 0.565 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.2856, allocations: 0 / 0.565 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.535e-06/0.2856, allocations: 8.031 kB / 0.565 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.2857, allocations: 4 kB / 0.565 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.335e-05/0.2857, allocations: 3.953 kB / 0.565 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.2857, allocations: 0 / 0.565 GB, free: 14.63 MB / 414.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.722e-05/0.2858, allocations: 131.5 kB / 0.5652 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.2858, allocations: 11.94 kB / 0.5652 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.674e-06/0.2858, allocations: 3.125 kB / 0.5652 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.2858, allocations: 3.984 kB / 0.5652 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2858, allocations: 0 / 0.5652 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2858, allocations: 4 kB / 0.5652 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.2859, allocations: 145.7 kB / 0.5653 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.2859, allocations: 3.938 kB / 0.5653 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-06/0.2859, allocations: 3.938 kB / 0.5653 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.2859, allocations: 0 / 0.5653 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.2859, allocations: 3.938 kB / 0.5653 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.2859, allocations: 0 / 0.5653 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2859, allocations: 0 / 0.5653 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.303e-05/0.286, allocations: 94.83 kB / 0.5654 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.286, allocations: 81.05 kB / 0.5655 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.2861, allocations: 7.922 kB / 0.5655 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.034e-05/0.2861, allocations: 4 kB / 0.5655 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.2861, allocations: 3.984 kB / 0.5655 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.2861, allocations: 0 / 0.5655 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.057e-05/0.2861, allocations: 75.28 kB / 0.5656 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2861, allocations: 0 / 0.5656 GB, free: 13.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.2864, allocations: 71.86 kB / 0.5657 GB, free: 13.89 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.00114/0.2875, allocations: 0.9169 MB / 0.5666 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.289e-05/0.2876, allocations: 67.34 kB / 0.5666 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2876, allocations: 0 / 0.5666 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.718e-05/0.2877, allocations: 55.41 kB / 0.5667 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/0.2878, allocations: 6.328 kB / 0.5667 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.2881, allocations: 134.6 kB / 0.5668 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.2883, allocations: 0.6768 MB / 0.5675 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.631e-06/0.2883, allocations: 0 / 0.5675 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.2884, allocations: 7.438 kB / 0.5675 GB, free: 11.96 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2884, allocations: 4.125 kB / 0.5675 GB, free: 11.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.3108, allocations: 3.115 MB / 0.5705 GB, free: 8.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.123/7.434, allocations: 8 kB / 0.5705 GB, free: 8.902 MB / 414.1 MB " [Timeout remaining time 653] (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: 9.970391138005652]