Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.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.001319/0.001319, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001515/0.001515, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.469/1.469, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.236/0.236, allocations: 46.93 MB / 361.6 MB, free: 4.23 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.TestInternal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestInternal",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.002484/0.002484, allocations: 79.88 kB / 0.497 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3566, allocations: 66.08 MB / 0.5615 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.00208/0.3586, allocations: 491.9 kB / 0.562 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007844/0.3594, allocations: 269.5 kB / 0.5622 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/0.3595, allocations: 0 / 0.5622 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.3595, allocations: 0 / 0.5622 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.102e-06/0.3595, allocations: 0 / 0.5622 GB, free: 3.609 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Utilities.mo:398:3-453:15:writable] Warning: Pure function 'ModelicaTest.Utilities.Internal' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.3599, allocations: 55.81 kB / 0.5623 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.097e-05/0.3599, allocations: 0 / 0.5623 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.36, allocations: 0 / 0.5623 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.776e-05/0.36, allocations: 0 / 0.5623 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.141e-05/0.36, allocations: 8 kB / 0.5623 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.36, allocations: 4 kB / 0.5623 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.3602, allocations: 59.95 kB / 0.5623 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.3602, allocations: 3.984 kB / 0.5623 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.3603, allocations: 0 / 0.5623 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.3605, allocations: 63.61 kB / 0.5624 GB, free: 3.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3605, allocations: 0 / 0.5624 GB, free: 3.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3605, allocations: 0 / 0.5624 GB, free: 3.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3605, allocations: 0 / 0.5624 GB, free: 3.422 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.0004728/0.3609, allocations: 286 kB / 0.5627 GB, free: 3.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.361, allocations: 8.031 kB / 0.5627 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.413e-05/0.361, allocations: 38.75 kB / 0.5627 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.3611, allocations: 0.9375 kB / 0.5627 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.3612, allocations: 106.5 kB / 0.5628 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.3612, allocations: 384 / 0.5628 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.3612, allocations: 4.359 kB / 0.5628 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.368e-05/0.3613, allocations: 30.27 kB / 0.5628 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3613, allocations: 3.938 kB / 0.5629 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.3613, allocations: 0 / 0.5629 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3613, allocations: 0 / 0.5629 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.93e-05/0.3613, allocations: 8 kB / 0.5629 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.3615, allocations: 124.7 kB / 0.563 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.663e-05/0.3616, allocations: 18.61 kB / 0.563 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.3616, allocations: 4.859 kB / 0.563 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-06/0.3616, allocations: 0 / 0.563 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.3616, allocations: 56.27 kB / 0.5631 GB, free: 2.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.3616, allocations: 0 / 0.5631 GB, free: 2.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002085/0.3618, allocations: 79.33 kB / 0.5631 GB, free: 2.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.3619, allocations: 77.11 kB / 0.5632 GB, free: 2.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.362, allocations: 93.81 kB / 0.5633 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.362, allocations: 33.64 kB / 0.5633 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.362, allocations: 84.12 kB / 0.5634 GB, free: 2.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.362, allocations: 0 / 0.5634 GB, free: 2.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.3621, allocations: 9.719 kB / 0.5634 GB, free: 2.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3622, allocations: 319 kB / 0.5637 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/0.3622, allocations: 4 kB / 0.5637 GB, free: 1.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-06/0.3622, allocations: 0 / 0.5637 GB, free: 1.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.994e-05/0.3623, allocations: 64.25 kB / 0.5638 GB, free: 1.773 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3623, allocations: 0 / 0.5638 GB, free: 1.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.991e-05/0.3624, allocations: 67.34 kB / 0.5638 GB, free: 1.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.3624, allocations: 33.7 kB / 0.5639 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3624, allocations: 3.938 kB / 0.5639 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3625, allocations: 0 / 0.5639 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.3625, allocations: 4.094 kB / 0.5639 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3625, allocations: 7.984 kB / 0.5639 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.062e-05/0.3625, allocations: 3.984 kB / 0.5639 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.3625, allocations: 0 / 0.5639 GB, free: 1.637 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.0001136/0.3626, allocations: 139.5 kB / 0.564 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-06/0.3626, allocations: 0 / 0.564 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.344e-05/0.3626, allocations: 6.938 kB / 0.564 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3626, allocations: 0 / 0.564 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3626, allocations: 0 / 0.564 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3626, allocations: 4 kB / 0.564 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.3628, allocations: 120.8 kB / 0.5642 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-06/0.3628, allocations: 0 / 0.5642 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.3628, allocations: 0 / 0.5642 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3628, allocations: 0 / 0.5642 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3628, allocations: 3.938 kB / 0.5642 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3628, allocations: 0 / 0.5642 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3628, allocations: 0 / 0.5642 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.3629, allocations: 98.77 kB / 0.5643 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-06/0.3629, allocations: 0 / 0.5643 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.3629, allocations: 11.94 kB / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-06/0.3629, allocations: 0 / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.3629, allocations: 0 / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.3629, allocations: 0 / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.253e-05/0.363, allocations: 79.22 kB / 0.5643 GB, free: 1.098 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.363, allocations: 0 / 0.5643 GB, free: 1.098 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.3632, allocations: 23.92 kB / 0.5644 GB, free: 1.074 MB / 398.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.3643, allocations: 0.7967 MB / 0.5651 GB, free: 300 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.3644, allocations: 63.34 kB / 0.5652 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3644, allocations: 0 / 0.5652 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.3645, allocations: 51.41 kB / 0.5653 GB, free: 160 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.3647, allocations: 14.5 kB / 0.5653 GB, free: 148 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003944/0.365, allocations: 118.8 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.3654, allocations: 0.6768 MB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.702e-06/0.3654, allocations: 3.938 kB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.3654, allocations: 7.438 kB / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3654, allocations: 0 / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.3905, allocations: 1.644 MB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.229/8.62, allocations: 2.188 kB / 0.5677 GB, free: 13.69 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal_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_TestInternal.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.568548784125596] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.691845356021076 8.708492767 8.344235627 Calling exit ...