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.001566/0.001566, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001795/0.001795, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.514/1.514, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.242/0.242, allocations: 46.92 MB / 357.7 MB, free: 10.21 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.002246/0.002246, allocations: 75.86 kB / 0.4917 GB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1335, allocations: 66.04 MB / 0.5561 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001806/0.1353, allocations: 0.5411 MB / 0.5567 GB, free: 5.039 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009047/0.1362, allocations: 411.4 kB / 0.5571 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.1362, allocations: 0 / 0.5571 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.1362, allocations: 3.938 kB / 0.5571 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.921e-05/0.1362, allocations: 3.938 kB / 0.5571 GB, free: 4.625 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005587/0.1368, allocations: 135.6 kB / 0.5572 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.504e-05/0.1369, allocations: 35.91 kB / 0.5572 GB, free: 4.457 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.1369, allocations: 4 kB / 0.5572 GB, free: 4.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.794e-05/0.137, allocations: 15.92 kB / 0.5573 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.933e-05/0.137, allocations: 19.92 kB / 0.5573 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.137, allocations: 0 / 0.5573 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.1373, allocations: 163.8 kB / 0.5574 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.1373, allocations: 11.98 kB / 0.5574 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.1374, allocations: 19.86 kB / 0.5575 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.1376, allocations: 131.6 kB / 0.5576 GB, free: 4.098 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1376, allocations: 0 / 0.5576 GB, free: 4.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1376, allocations: 0 / 0.5576 GB, free: 4.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1376, allocations: 4 kB / 0.5576 GB, free: 4.094 MB / 414.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.0004802/0.1381, allocations: 371.1 kB / 0.5579 GB, free: 3.684 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1381, allocations: 8.031 kB / 0.558 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.1382, allocations: 30.75 kB / 0.558 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.1382, allocations: 16.83 kB / 0.558 GB, free: 3.621 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.1384, allocations: 172.2 kB / 0.5582 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1384, allocations: 4.375 kB / 0.5582 GB, free: 3.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1384, allocations: 8.375 kB / 0.5582 GB, free: 3.402 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.1386, allocations: 65.98 kB / 0.5582 GB, free: 3.332 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1386, allocations: 4 kB / 0.5582 GB, free: 3.328 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1386, allocations: 0 / 0.5582 GB, free: 3.328 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1386, allocations: 0 / 0.5582 GB, free: 3.328 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.174e-05/0.1387, allocations: 47.95 kB / 0.5583 GB, free: 3.281 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.1389, allocations: 177.5 kB / 0.5585 GB, free: 3.059 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.139, allocations: 85.98 kB / 0.5585 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.1391, allocations: 24.84 kB / 0.5586 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.1393, allocations: 105.1 kB / 0.5587 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1394, allocations: 38.5 kB / 0.5587 GB, free: 2.773 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.1394, allocations: 0 / 0.5587 GB, free: 2.773 MB / 414.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.1326/0.2719, allocations: 5.618 MB / 0.5642 GB, free: 13.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.272, allocations: 59.27 kB / 0.5642 GB, free: 13.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.811e-05/0.2721, allocations: 89.86 kB / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.2721, allocations: 33.7 kB / 0.5644 GB, free: 12.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.2721, allocations: 80.52 kB / 0.5644 GB, free: 12.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.313e-05/0.2722, allocations: 79.33 kB / 0.5645 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.2723, allocations: 61.8 kB / 0.5646 GB, free: 12.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2725, allocations: 330.7 kB / 0.5649 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.2729, allocations: 107.9 kB / 0.565 GB, free: 12.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.2732, allocations: 119.9 kB / 0.5651 GB, free: 12.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.2747, allocations: 325 kB / 0.5654 GB, free: 11.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2747, allocations: 0 / 0.5654 GB, free: 11.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001284/0.276, allocations: 349.2 kB / 0.5657 GB, free: 11.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.276, allocations: 4 kB / 0.5657 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2761, allocations: 3.984 kB / 0.5658 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.2761, allocations: 4 kB / 0.5658 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.2765, allocations: 79.86 kB / 0.5658 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2765, allocations: 4 kB / 0.5658 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.2767, allocations: 31.91 kB / 0.5659 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.2767, allocations: 15.97 kB / 0.5659 GB, free: 11.32 MB / 430.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.0001291/0.2768, allocations: 121.8 kB / 0.566 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.2769, allocations: 7.953 kB / 0.566 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.2784, allocations: 429.8 kB / 0.5664 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2784, allocations: 0 / 0.5664 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.2784, allocations: 8 kB / 0.5664 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2784, allocations: 3.938 kB / 0.5664 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.2807, allocations: 0.7728 MB / 0.5672 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2807, allocations: 4 kB / 0.5672 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.281, allocations: 87.86 kB / 0.5673 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.281, allocations: 0 / 0.5673 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.281, allocations: 15.98 kB / 0.5673 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.281, allocations: 3.938 kB / 0.5673 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.281, allocations: 4 kB / 0.5673 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.2823, allocations: 429 kB / 0.5677 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/0.2823, allocations: 85.06 kB / 0.5678 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.2823, allocations: 4 kB / 0.5678 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.2825, allocations: 27.97 kB / 0.5678 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.2826, allocations: 15.97 kB / 0.5678 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.2826, allocations: 16 kB / 0.5678 GB, free: 9.188 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.873e-05/0.2826, allocations: 75.28 kB / 0.5679 GB, free: 9.113 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2826, allocations: 0 / 0.5679 GB, free: 9.113 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001804/0.2844, allocations: 0.6362 MB / 0.5685 GB, free: 8.477 MB / 430.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.004687/0.2891, allocations: 1.143 MB / 0.5697 GB, free: 7.301 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008773/0.29, allocations: 251.5 kB / 0.5699 GB, free: 7.055 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.29, allocations: 0 / 0.5699 GB, free: 7.055 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.2904, allocations: 134.4 kB / 0.57 GB, free: 6.926 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.2906, allocations: 12.12 kB / 0.57 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.2924, allocations: 420.5 kB / 0.5704 GB, free: 6.449 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.2928, allocations: 0.6931 MB / 0.5711 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002383/0.293, allocations: 77.08 kB / 0.5712 GB, free: 5.652 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.2932, allocations: 55.39 kB / 0.5712 GB, free: 5.598 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2932, allocations: 0 / 0.5712 GB, free: 5.598 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.358/0.6512, allocations: 55.08 MB / 0.625 GB, free: 16.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.454/9.105, allocations: 13.92 kB / 0.625 GB, free: 16.14 MB / 446.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: 12.20651131682098] 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.198636239860207 9.216169461 9.075235416 Calling exit ...