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.001574/0.001574, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001984/0.001984, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.569/1.569, allocations: 230.4 MB / 254.7 MB, free: 14.84 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.2352/0.2352, allocations: 46.91 MB / 357.7 MB, free: 10.2 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.002256/0.002256, allocations: 79.88 kB / 0.4916 GB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1351, allocations: 66.04 MB / 0.5561 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001698/0.1368, allocations: 0.5009 MB / 0.5566 GB, free: 5.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003098/0.1371, allocations: 92.34 kB / 0.5567 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.1371, allocations: 0 / 0.5567 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/0.1372, allocations: 0 / 0.5567 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.49e-05/0.1372, allocations: 3.938 kB / 0.5567 GB, free: 4.977 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.1374, allocations: 15.97 kB / 0.5567 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.437e-05/0.1374, allocations: 12 kB / 0.5567 GB, free: 4.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.602e-05/0.1375, allocations: 7.984 kB / 0.5568 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.657e-05/0.1375, allocations: 11.88 kB / 0.5568 GB, free: 4.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.1376, allocations: 0 / 0.5568 GB, free: 4.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.1376, allocations: 4 kB / 0.5568 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.305e-05/0.1377, allocations: 31.95 kB / 0.5568 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.1377, allocations: 15.86 kB / 0.5568 GB, free: 4.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.1377, allocations: 4 kB / 0.5568 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1379, allocations: 23.91 kB / 0.5568 GB, free: 4.852 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1379, allocations: 0 / 0.5568 GB, free: 4.852 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1379, allocations: 0 / 0.5568 GB, free: 4.852 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1379, allocations: 0 / 0.5568 GB, free: 4.852 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000451/0.1383, allocations: 339.4 kB / 0.5572 GB, free: 4.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1384, allocations: 8.031 kB / 0.5572 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.821e-05/0.1384, allocations: 30.75 kB / 0.5572 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.1384, allocations: 4.938 kB / 0.5572 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.1386, allocations: 160.4 kB / 0.5574 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1386, allocations: 4.359 kB / 0.5574 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.1386, allocations: 8.375 kB / 0.5574 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1387, allocations: 55.97 kB / 0.5574 GB, free: 4.145 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.1387, allocations: 7.875 kB / 0.5574 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1388, allocations: 0 / 0.5574 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1388, allocations: 0 / 0.5574 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.787e-05/0.1388, allocations: 12 kB / 0.5574 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.1392, allocations: 317.2 kB / 0.5577 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.609e-05/0.1393, allocations: 38.45 kB / 0.5578 GB, free: 3.715 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.326e-05/0.1393, allocations: 12.86 kB / 0.5578 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.1393, allocations: 0 / 0.5578 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.1393, allocations: 30.56 kB / 0.5578 GB, free: 3.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.1393, allocations: 7.938 kB / 0.5578 GB, free: 3.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001944/0.1395, allocations: 57.73 kB / 0.5579 GB, free: 3.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.1396, allocations: 51.41 kB / 0.5579 GB, free: 3.527 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/0.1397, allocations: 101.8 kB / 0.558 GB, free: 3.418 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1397, allocations: 29.7 kB / 0.5581 GB, free: 3.383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.1397, allocations: 80.14 kB / 0.5581 GB, free: 3.301 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.1398, allocations: 19.83 kB / 0.5582 GB, free: 3.281 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.1398, allocations: 17.7 kB / 0.5582 GB, free: 3.258 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1399, allocations: 314.8 kB / 0.5585 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/0.14, allocations: 4 kB / 0.5585 GB, free: 2.938 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/0.14, allocations: 25.84 kB / 0.5585 GB, free: 2.906 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.298e-05/0.1401, allocations: 25.7 kB / 0.5585 GB, free: 2.875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.1401, allocations: 7.938 kB / 0.5585 GB, free: 2.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001/0.1402, allocations: 57.81 kB / 0.5586 GB, free: 2.805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1402, allocations: 4 kB / 0.5586 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1402, allocations: 3.938 kB / 0.5586 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1402, allocations: 4.031 kB / 0.5586 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/0.1402, allocations: 8 kB / 0.5586 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1403, allocations: 8.016 kB / 0.5586 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.1403, allocations: 8.078 kB / 0.5586 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1403, allocations: 4 kB / 0.5586 GB, free: 2.766 MB / 414.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 9.822e-05/0.1404, allocations: 125.7 kB / 0.5588 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.1404, allocations: 0 / 0.5588 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.1405, allocations: 61.19 kB / 0.5588 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1405, allocations: 0 / 0.5588 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1406, allocations: 0 / 0.5588 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1406, allocations: 0 / 0.5588 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.1407, allocations: 161.6 kB / 0.559 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1407, allocations: 4 kB / 0.559 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.1408, allocations: 4 kB / 0.559 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1408, allocations: 0 / 0.559 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1408, allocations: 3.984 kB / 0.559 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1408, allocations: 4 kB / 0.559 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1408, allocations: 3.938 kB / 0.559 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.1409, allocations: 147.5 kB / 0.5591 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.141, allocations: 89 kB / 0.5592 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.141, allocations: 8 kB / 0.5592 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.136e-05/0.1411, allocations: 0 / 0.5592 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.1411, allocations: 0 / 0.5592 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.1411, allocations: 4 kB / 0.5592 GB, free: 2.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.287e-05/0.1411, allocations: 75.28 kB / 0.5593 GB, free: 1.988 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1411, allocations: 0 / 0.5593 GB, free: 1.988 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.1414, allocations: 15.92 kB / 0.5593 GB, free: 1.973 MB / 414.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.000475/0.1418, allocations: 0.6852 MB / 0.56 GB, free: 1.258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.142, allocations: 28.17 kB / 0.56 GB, free: 1.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.142, allocations: 0 / 0.56 GB, free: 1.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.037e-05/0.142, allocations: 15.94 kB / 0.56 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.1422, allocations: 5.266 kB / 0.56 GB, free: 1.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.1426, allocations: 138.7 kB / 0.5602 GB, free: 1.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.1429, allocations: 0.6807 MB / 0.5608 GB, free: 336 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.725e-05/0.1429, allocations: 0 / 0.5608 GB, free: 336 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.143, allocations: 11.44 kB / 0.5608 GB, free: 324 kB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.143, allocations: 0 / 0.5608 GB, free: 324 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.167, allocations: 1.328 MB / 0.5621 GB, free: 15.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.78/7.947, allocations: 7.094 kB / 0.5621 GB, free: 15.12 MB / 430.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: 11.160436016041785] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'k1', 'k2'] 8.017050504684448 8.045032029 7.901930309 Calling exit ...