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.001493/0.001493, allocations: 108.6 kB / 19.8 MB, free: 2.5 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.001631/0.001631, allocations: 212.3 kB / 22.99 MB, free: 5.582 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.39/1.39, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.2568/0.2568, allocations: 46.88 MB / 359.4 MB, free: 4.902 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.002288/0.002288, allocations: 79.86 kB / 0.4941 GB, free: 9.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3148, allocations: 65.99 MB / 0.5586 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001666/0.3165, allocations: 0.5383 MB / 0.5591 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008823/0.3173, allocations: 410.8 kB / 0.5595 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.3174, allocations: 0 / 0.5595 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.3174, allocations: 3.938 kB / 0.5595 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.147e-05/0.3174, allocations: 0 / 0.5595 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.3179, allocations: 151.3 kB / 0.5596 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.574e-05/0.318, allocations: 23.92 kB / 0.5596 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.318, allocations: 7.984 kB / 0.5597 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.442e-05/0.318, allocations: 15.94 kB / 0.5597 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.9e-05/0.3181, allocations: 23.91 kB / 0.5597 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.3181, allocations: 3.938 kB / 0.5597 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.3184, allocations: 155.8 kB / 0.5598 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.3184, allocations: 8 kB / 0.5599 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.3184, allocations: 23.84 kB / 0.5599 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.3186, allocations: 133.6 kB / 0.56 GB, free: 3.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3186, allocations: 0 / 0.56 GB, free: 3.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3186, allocations: 4 kB / 0.56 GB, free: 3.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.3186, allocations: 0 / 0.56 GB, free: 3.652 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.0004284/0.319, allocations: 363.1 kB / 0.5604 GB, free: 3.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3191, allocations: 12.03 kB / 0.5604 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.378e-05/0.3191, allocations: 34.75 kB / 0.5604 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.3191, allocations: 8.891 kB / 0.5604 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.3193, allocations: 164.4 kB / 0.5606 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3193, allocations: 16.38 kB / 0.5606 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.3193, allocations: 8.312 kB / 0.5606 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.3194, allocations: 73.42 kB / 0.5607 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3194, allocations: 0 / 0.5607 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.3195, allocations: 4 kB / 0.5607 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3195, allocations: 0 / 0.5607 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.3196, allocations: 47.95 kB / 0.5607 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.3198, allocations: 177.5 kB / 0.5609 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.3199, allocations: 78.55 kB / 0.561 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.3199, allocations: 28.8 kB / 0.561 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.3202, allocations: 101.1 kB / 0.5611 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.3202, allocations: 42.48 kB / 0.5611 GB, free: 2.332 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.3202, allocations: 0 / 0.5611 GB, free: 2.332 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.1359/0.4561, allocations: 5.616 MB / 0.5666 GB, free: 12.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.4561, allocations: 59.27 kB / 0.5667 GB, free: 12.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.4562, allocations: 89.86 kB / 0.5667 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.4563, allocations: 33.83 kB / 0.5668 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.4563, allocations: 84.52 kB / 0.5669 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.18e-05/0.4564, allocations: 79.33 kB / 0.5669 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.4565, allocations: 53.67 kB / 0.567 GB, free: 12.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4567, allocations: 322.8 kB / 0.5673 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.457, allocations: 115.9 kB / 0.5674 GB, free: 11.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.4574, allocations: 119.1 kB / 0.5675 GB, free: 11.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.4588, allocations: 316.5 kB / 0.5678 GB, free: 11.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4588, allocations: 4 kB / 0.5678 GB, free: 11.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001246/0.4601, allocations: 354.4 kB / 0.5682 GB, free: 11.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4601, allocations: 4 kB / 0.5682 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4601, allocations: 0 / 0.5682 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.4601, allocations: 0 / 0.5682 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.4605, allocations: 87.84 kB / 0.5682 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4605, allocations: 7.984 kB / 0.5683 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.4607, allocations: 27.91 kB / 0.5683 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.4608, allocations: 15.98 kB / 0.5683 GB, free: 10.89 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.0001181/0.4609, allocations: 125.8 kB / 0.5684 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.4609, allocations: 7.953 kB / 0.5684 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.4623, allocations: 430.5 kB / 0.5688 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.4623, allocations: 0 / 0.5688 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4623, allocations: 0 / 0.5688 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.4623, allocations: 11.92 kB / 0.5688 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.4647, allocations: 0.78 MB / 0.5696 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4647, allocations: 4.062 kB / 0.5696 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.465, allocations: 79.86 kB / 0.5697 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.465, allocations: 4 kB / 0.5697 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.465, allocations: 19.92 kB / 0.5697 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.465, allocations: 0 / 0.5697 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.465, allocations: 4 kB / 0.5697 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.4661, allocations: 428.8 kB / 0.5701 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.4662, allocations: 85.05 kB / 0.5702 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.4662, allocations: 8 kB / 0.5702 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.4664, allocations: 23.97 kB / 0.5702 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.4664, allocations: 15.92 kB / 0.5702 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.4665, allocations: 15.98 kB / 0.5703 GB, free: 8.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.618e-05/0.4665, allocations: 79.28 kB / 0.5703 GB, free: 8.672 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4665, allocations: 4.094 kB / 0.5703 GB, free: 8.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001695/0.4682, allocations: 0.6284 MB / 0.571 GB, free: 8.039 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.004422/0.4726, allocations: 1.135 MB / 0.5721 GB, free: 6.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008109/0.4734, allocations: 259.5 kB / 0.5723 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4734, allocations: 0 / 0.5723 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004264/0.4739, allocations: 128 kB / 0.5724 GB, free: 6.492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.4741, allocations: 10.67 kB / 0.5724 GB, free: 6.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.4758, allocations: 436.4 kB / 0.5729 GB, free: 6.004 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.4761, allocations: 0.697 MB / 0.5735 GB, free: 5.277 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002265/0.4764, allocations: 77.08 kB / 0.5736 GB, free: 5.203 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.4765, allocations: 51.39 kB / 0.5737 GB, free: 5.152 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4765, allocations: 0 / 0.5737 GB, free: 5.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09248/0.569, allocations: 55.08 MB / 0.6275 GB, free: 14.03 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/8.94, allocations: 0 / 0.6275 GB, free: 14.03 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.65103698297753] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y1', 'y1d', 'y1dd', 'y2', 'y2d', 'y2dd', 'y3', 'y3d', 'y3dd', 'y4', 'y4d', 'y4dd'] 9.023981064994587 9.048870249 8.725685765 Calling exit ...