Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.001313/0.001313, allocations: 110.4 kB / 21.23 MB, free: 0.5312 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.001474/0.001474, allocations: 214.9 kB / 24.54 MB, free: 3.922 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.452/1.452, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2285/0.2285, allocations: 46.95 MB / 361.6 MB, free: 4.18 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.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",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.002326/0.002326, allocations: 79.86 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3991, allocations: 66.08 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.00167/0.4008, allocations: 0.4993 MB / 0.562 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003115/0.4011, allocations: 99.72 kB / 0.5621 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.564e-05/0.4012, allocations: 0 / 0.5621 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.4012, allocations: 0 / 0.5621 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.985e-05/0.4012, allocations: 0 / 0.5621 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.4014, allocations: 15.91 kB / 0.5621 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.829e-05/0.4015, allocations: 12 kB / 0.5621 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.619e-05/0.4015, allocations: 3.984 kB / 0.5621 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.31e-05/0.4015, allocations: 15.92 kB / 0.5621 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.4016, allocations: 0 / 0.5621 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.4016, allocations: 8 kB / 0.5621 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.96e-05/0.4017, allocations: 31.97 kB / 0.5622 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.4017, allocations: 7.922 kB / 0.5622 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.4017, allocations: 0 / 0.5622 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.4018, allocations: 29.72 kB / 0.5622 GB, free: 3.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4018, allocations: 0 / 0.5622 GB, free: 3.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4018, allocations: 0 / 0.5622 GB, free: 3.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.4019, allocations: 4 kB / 0.5622 GB, free: 3.602 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003919/0.4022, allocations: 254.3 kB / 0.5624 GB, free: 3.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4023, allocations: 16.03 kB / 0.5625 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.4023, allocations: 34.75 kB / 0.5625 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.147e-05/0.4023, allocations: 0.9375 kB / 0.5625 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.4025, allocations: 110.5 kB / 0.5626 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4025, allocations: 4.375 kB / 0.5626 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.4025, allocations: 384 / 0.5626 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.4026, allocations: 55.97 kB / 0.5627 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4026, allocations: 3.938 kB / 0.5627 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.4026, allocations: 0 / 0.5627 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.4026, allocations: 8 kB / 0.5627 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.022e-05/0.4027, allocations: 15.86 kB / 0.5627 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.403, allocations: 292.2 kB / 0.563 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.4032, allocations: 26.66 kB / 0.563 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.4032, allocations: 16.84 kB / 0.563 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.4032, allocations: 4 kB / 0.563 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.4032, allocations: 38.5 kB / 0.563 GB, free: 2.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 2.695e-06/0.4032, allocations: 3.984 kB / 0.563 GB, free: 2.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001842/0.4034, allocations: 57.58 kB / 0.5631 GB, free: 2.527 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.4035, allocations: 51.41 kB / 0.5632 GB, free: 2.465 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.949e-05/0.4035, allocations: 97.86 kB / 0.5632 GB, free: 2.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.4036, allocations: 29.69 kB / 0.5633 GB, free: 2.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.4036, allocations: 84.27 kB / 0.5634 GB, free: 2.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.4036, allocations: 19.84 kB / 0.5634 GB, free: 2.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.4037, allocations: 13.72 kB / 0.5634 GB, free: 2.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4038, allocations: 314.8 kB / 0.5637 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.4038, allocations: 7.984 kB / 0.5637 GB, free: 1.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.332e-05/0.4039, allocations: 25.66 kB / 0.5637 GB, free: 1.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.207e-05/0.4039, allocations: 21.72 kB / 0.5637 GB, free: 1.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.4039, allocations: 11.92 kB / 0.5638 GB, free: 1.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.228e-05/0.404, allocations: 53.64 kB / 0.5638 GB, free: 1.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.404, allocations: 14.48 kB / 0.5638 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.404, allocations: 3.984 kB / 0.5638 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4041, allocations: 0 / 0.5638 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.4041, allocations: 8 kB / 0.5638 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4041, allocations: 0 / 0.5638 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.4042, allocations: 3.953 kB / 0.5638 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.4042, allocations: 4 kB / 0.5638 GB, free: 1.715 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.962e-05/0.4043, allocations: 118.7 kB / 0.5639 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.4043, allocations: 4 kB / 0.564 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.4044, allocations: 61.3 kB / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.4044, allocations: 0 / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4044, allocations: 4 kB / 0.564 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4044, allocations: 192 / 0.564 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.4046, allocations: 136.7 kB / 0.5641 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4046, allocations: 0 / 0.5641 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.4046, allocations: 8 kB / 0.5642 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4046, allocations: 4 kB / 0.5642 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.4046, allocations: 0 / 0.5642 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4046, allocations: 0 / 0.5642 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4046, allocations: 0 / 0.5642 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.4048, allocations: 155.4 kB / 0.5643 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.4048, allocations: 7.891 kB / 0.5643 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.4048, allocations: 11.88 kB / 0.5643 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.988e-05/0.4049, allocations: 4 kB / 0.5643 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.4049, allocations: 7.984 kB / 0.5643 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.4049, allocations: 0 / 0.5643 GB, free: 1.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.049e-05/0.4049, allocations: 79.28 kB / 0.5644 GB, free: 1.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4049, allocations: 0 / 0.5644 GB, free: 1.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002113/0.4051, allocations: 4 kB / 0.5644 GB, free: 1.039 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0004671/0.4056, allocations: 0.6886 MB / 0.5651 GB, free: 332 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.4057, allocations: 27.94 kB / 0.5651 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4057, allocations: 0 / 0.5651 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.988e-05/0.4057, allocations: 11.98 kB / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.4059, allocations: 8 kB / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.4063, allocations: 142.5 kB / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.4067, allocations: 0.6768 MB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.932e-05/0.4067, allocations: 4.062 kB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.4067, allocations: 11.44 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4067, allocations: 0 / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.434, allocations: 1.318 MB / 0.5672 GB, free: 14.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.961, allocations: 3.375 kB / 0.5672 GB, free: 14.13 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.874184461310506] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'k1', 'k2'] 8.029537064954638 8.045735818 7.640960288 Calling exit ...