Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.00127/0.00127, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001359/0.001359, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.443/1.443, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2237/0.2237, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",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.002219/0.002219, allocations: 83.86 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3625, allocations: 66.08 MB / 0.5615 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001747/0.3643, allocations: 0.5339 MB / 0.562 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008931/0.3652, allocations: 418.7 kB / 0.5624 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.3652, allocations: 4 kB / 0.5624 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.3652, allocations: 3.938 kB / 0.5624 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.898e-05/0.3652, allocations: 0 / 0.5624 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.3658, allocations: 147.4 kB / 0.5626 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.194e-05/0.3659, allocations: 27.86 kB / 0.5626 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.175e-05/0.3659, allocations: 4 kB / 0.5626 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.378e-05/0.366, allocations: 15.94 kB / 0.5626 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.406e-05/0.366, allocations: 23.91 kB / 0.5626 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.3661, allocations: 4 kB / 0.5626 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.3664, allocations: 159.8 kB / 0.5628 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.3664, allocations: 8 kB / 0.5628 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.3664, allocations: 19.84 kB / 0.5628 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.3667, allocations: 129.8 kB / 0.5629 GB, free: 2.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3667, allocations: 4 kB / 0.5629 GB, free: 2.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3667, allocations: 0 / 0.5629 GB, free: 2.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.3667, allocations: 0 / 0.5629 GB, free: 2.711 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005234/0.3672, allocations: 294 kB / 0.5632 GB, free: 2.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.3672, allocations: 12.03 kB / 0.5632 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.3673, allocations: 38.73 kB / 0.5633 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.3673, allocations: 12.83 kB / 0.5633 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.3675, allocations: 106.5 kB / 0.5634 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3675, allocations: 4.375 kB / 0.5634 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.3675, allocations: 8.375 kB / 0.5634 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.3677, allocations: 73.91 kB / 0.5635 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.3677, allocations: 0 / 0.5635 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3677, allocations: 0 / 0.5635 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3677, allocations: 0 / 0.5635 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.3678, allocations: 51.95 kB / 0.5635 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.3681, allocations: 148.6 kB / 0.5637 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.3682, allocations: 78.53 kB / 0.5637 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.83e-05/0.3683, allocations: 28.84 kB / 0.5638 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/0.3686, allocations: 23.97 kB / 0.5638 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.679e-05/0.3686, allocations: 50.38 kB / 0.5638 GB, free: 1.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.3686, allocations: 4 kB / 0.5638 GB, free: 1.664 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1245/0.4931, allocations: 5.601 MB / 0.5693 GB, free: 12.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.4931, allocations: 59.27 kB / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.4932, allocations: 97.8 kB / 0.5695 GB, free: 11.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.4933, allocations: 29.7 kB / 0.5695 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.4933, allocations: 80.52 kB / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.838e-05/0.4934, allocations: 79.33 kB / 0.5696 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.4935, allocations: 61.67 kB / 0.5697 GB, free: 11.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.4937, allocations: 326.8 kB / 0.57 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.4941, allocations: 116 kB / 0.5701 GB, free: 11.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.4944, allocations: 111.9 kB / 0.5702 GB, free: 11.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.4958, allocations: 321 kB / 0.5705 GB, free: 10.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.4958, allocations: 0 / 0.5705 GB, free: 10.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001156/0.4969, allocations: 353.2 kB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.497, allocations: 11.98 kB / 0.5709 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.497, allocations: 0 / 0.5709 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.497, allocations: 4 kB / 0.5709 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.4974, allocations: 79.92 kB / 0.571 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4974, allocations: 3.938 kB / 0.571 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.4976, allocations: 35.89 kB / 0.571 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.4976, allocations: 15.98 kB / 0.571 GB, free: 10.21 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.0001298/0.4977, allocations: 121.8 kB / 0.5711 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.4978, allocations: 7.953 kB / 0.5711 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.4991, allocations: 429.8 kB / 0.5715 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.4991, allocations: 4 kB / 0.5716 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4992, allocations: 0 / 0.5716 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4992, allocations: 3.938 kB / 0.5716 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.5014, allocations: 0.7523 MB / 0.5723 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5014, allocations: 3.938 kB / 0.5723 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.5016, allocations: 75.86 kB / 0.5724 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.5017, allocations: 0 / 0.5724 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.5017, allocations: 15.98 kB / 0.5724 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.5017, allocations: 8.062 kB / 0.5724 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5017, allocations: 3.984 kB / 0.5724 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.5028, allocations: 417.2 kB / 0.5728 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.5028, allocations: 11.94 kB / 0.5728 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.5028, allocations: 8 kB / 0.5728 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.503, allocations: 23.97 kB / 0.5728 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.503, allocations: 19.91 kB / 0.5729 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.5031, allocations: 19.98 kB / 0.5729 GB, free: 8.211 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.392e-05/0.5031, allocations: 75.28 kB / 0.5729 GB, free: 8.137 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5031, allocations: 0 / 0.5729 GB, free: 8.137 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001665/0.5048, allocations: 0.6324 MB / 0.5736 GB, free: 7.504 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.004332/0.5091, allocations: 1.143 MB / 0.5747 GB, free: 6.328 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008542/0.51, allocations: 255.5 kB / 0.5749 GB, free: 6.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.51, allocations: 4 kB / 0.5749 GB, free: 6.074 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.5103, allocations: 127.8 kB / 0.575 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.5106, allocations: 11.23 kB / 0.5751 GB, free: 5.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.5124, allocations: 431.6 kB / 0.5755 GB, free: 5.473 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.5128, allocations: 0.697 MB / 0.5761 GB, free: 4.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002414/0.513, allocations: 77.08 kB / 0.5762 GB, free: 4.672 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.5132, allocations: 55.38 kB / 0.5763 GB, free: 4.617 MB / 414.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5132, allocations: 8 kB / 0.5763 GB, free: 4.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09867/0.6118, allocations: 55.19 MB / 0.6302 GB, free: 13.39 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.714, allocations: 7.875 kB / 0.6302 GB, free: 13.38 MB / 478.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_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_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.636236946098506] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y1', 'y1d', 'y1dd', 'y2', 'y2d', 'y2dd', 'y3', 'y3d', 'y3dd', 'y4', 'y4d', 'y4dd'] 8.794365755748004 8.813779444 8.443058934 Calling exit ...