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.00119/0.00119, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.001453/0.001453, allocations: 219.5 kB / 23 MB, free: 5.609 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.447/1.447, allocations: 230.2 MB / 256.2 MB, free: 8.68 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.2459/0.2459, allocations: 46.89 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.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.002469/0.002469, allocations: 83.86 kB / 0.4941 GB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3747, allocations: 65.98 MB / 0.5586 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001725/0.3764, allocations: 0.4993 MB / 0.559 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003266/0.3767, allocations: 103.7 kB / 0.5591 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.3767, allocations: 4 kB / 0.5591 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.3767, allocations: 0 / 0.5591 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.082e-05/0.3768, allocations: 0 / 0.5591 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.377, allocations: 19.91 kB / 0.5592 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.661e-05/0.377, allocations: 4 kB / 0.5592 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.3771, allocations: 4 kB / 0.5592 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.987e-05/0.3771, allocations: 11.92 kB / 0.5592 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.3772, allocations: 4 kB / 0.5592 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.3772, allocations: 0 / 0.5592 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.544e-05/0.3773, allocations: 35.97 kB / 0.5592 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.3773, allocations: 7.922 kB / 0.5592 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.3773, allocations: 7.984 kB / 0.5592 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.464e-05/0.3774, allocations: 25.73 kB / 0.5593 GB, free: 4.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3774, allocations: 0 / 0.5593 GB, free: 4.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3774, allocations: 0 / 0.5593 GB, free: 4.445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3774, allocations: 0 / 0.5593 GB, free: 4.445 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.0003983/0.3778, allocations: 331.4 kB / 0.5596 GB, free: 4.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3778, allocations: 12.03 kB / 0.5596 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.3779, allocations: 42.75 kB / 0.5596 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.026e-05/0.3779, allocations: 0.9375 kB / 0.5596 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.378, allocations: 168.3 kB / 0.5598 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.378, allocations: 384 / 0.5598 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.3781, allocations: 384 / 0.5598 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.3782, allocations: 55.91 kB / 0.5598 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3782, allocations: 3.938 kB / 0.5598 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.3782, allocations: 0 / 0.5598 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3782, allocations: 8 kB / 0.5599 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.818e-05/0.3782, allocations: 15.92 kB / 0.5599 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.3786, allocations: 317.1 kB / 0.5602 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.777e-05/0.3786, allocations: 30.55 kB / 0.5602 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.3787, allocations: 12.86 kB / 0.5602 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.3787, allocations: 0 / 0.5602 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.3787, allocations: 38.56 kB / 0.5603 GB, free: 3.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.3787, allocations: 0 / 0.5603 GB, free: 3.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001919/0.3789, allocations: 61.67 kB / 0.5603 GB, free: 3.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.3789, allocations: 55.34 kB / 0.5604 GB, free: 3.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.379, allocations: 101.8 kB / 0.5605 GB, free: 3.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.379, allocations: 25.7 kB / 0.5605 GB, free: 2.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.3791, allocations: 80.14 kB / 0.5606 GB, free: 2.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.3791, allocations: 19.97 kB / 0.5606 GB, free: 2.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.3791, allocations: 17.72 kB / 0.5606 GB, free: 2.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3793, allocations: 314.8 kB / 0.5609 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.3793, allocations: 8 kB / 0.5609 GB, free: 2.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.3793, allocations: 17.72 kB / 0.5609 GB, free: 2.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.247e-05/0.3794, allocations: 33.64 kB / 0.561 GB, free: 2.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3794, allocations: 7.938 kB / 0.561 GB, free: 2.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.581e-05/0.3795, allocations: 57.62 kB / 0.561 GB, free: 2.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3795, allocations: 8 kB / 0.561 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3795, allocations: 0 / 0.561 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3795, allocations: 0 / 0.561 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.055e-05/0.3796, allocations: 8 kB / 0.561 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3796, allocations: 0 / 0.561 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/0.3796, allocations: 3.953 kB / 0.561 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.3796, allocations: 4 kB / 0.561 GB, free: 2.367 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.828e-05/0.3797, allocations: 113.8 kB / 0.5611 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.3797, allocations: 7.984 kB / 0.5612 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.3799, allocations: 65.48 kB / 0.5612 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3799, allocations: 7.984 kB / 0.5612 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3799, allocations: 0 / 0.5612 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3799, allocations: 0 / 0.5612 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.3801, allocations: 161.6 kB / 0.5614 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3801, allocations: 0 / 0.5614 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.3801, allocations: 8 kB / 0.5614 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3801, allocations: 0 / 0.5614 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3801, allocations: 4 kB / 0.5614 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3801, allocations: 3.938 kB / 0.5614 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3801, allocations: 0 / 0.5614 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.3803, allocations: 159.4 kB / 0.5615 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.3803, allocations: 88.98 kB / 0.5616 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.3803, allocations: 0 / 0.5616 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.546e-05/0.3804, allocations: 3.938 kB / 0.5616 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.3804, allocations: 8 kB / 0.5616 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.3804, allocations: 4 kB / 0.5616 GB, free: 1.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.061e-05/0.3805, allocations: 79.28 kB / 0.5617 GB, free: 1.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3805, allocations: 0 / 0.5617 GB, free: 1.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.3807, allocations: 4 kB / 0.5617 GB, free: 1.562 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.0004884/0.3812, allocations: 0.6851 MB / 0.5624 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.3813, allocations: 24.03 kB / 0.5624 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3813, allocations: 0 / 0.5624 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/0.3813, allocations: 15.98 kB / 0.5624 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.3815, allocations: 4 kB / 0.5624 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.3819, allocations: 150.5 kB / 0.5626 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.3823, allocations: 0.6768 MB / 0.5632 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.777e-05/0.3823, allocations: 4.375 kB / 0.5632 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.3823, allocations: 15.44 kB / 0.5633 GB, free: 15.89 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3823, allocations: 0 / 0.5633 GB, free: 15.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.4057, allocations: 1.288 MB / 0.5645 GB, free: 14.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/8.251, allocations: 4.062 kB / 0.5645 GB, free: 14.67 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: 11.015848859999096] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'k1', 'k2'] 8.320814581995364 8.348364694 7.965824587 Calling exit ...