Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001638/0.001638, 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.001583/0.001583, allocations: 215 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.4/1.4, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.228/0.228, allocations: 46.89 MB / 359.4 MB, free: 4.914 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.Test01RegFun3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",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.003307/0.003307, allocations: 79.86 kB / 0.4941 GB, free: 9.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3228, allocations: 65.99 MB / 0.5586 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001963/0.3247, allocations: 495.5 kB / 0.559 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.3269, allocations: 1.416 MB / 0.5604 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.327, allocations: 3.938 kB / 0.5604 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.327, allocations: 0 / 0.5604 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.35e-05/0.327, allocations: 4 kB / 0.5604 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007812/0.3278, allocations: 223.3 kB / 0.5606 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.766e-05/0.3278, allocations: 7.984 kB / 0.5606 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.3279, allocations: 0 / 0.5606 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.811e-05/0.3279, allocations: 4 kB / 0.5606 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.328, allocations: 3.984 kB / 0.5606 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.328, allocations: 0 / 0.5606 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004997/0.3285, allocations: 291.5 kB / 0.5609 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.3285, allocations: 3.938 kB / 0.5609 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.3285, allocations: 0 / 0.5609 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.3288, allocations: 157.5 kB / 0.5611 GB, free: 2.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3288, allocations: 0 / 0.5611 GB, free: 2.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3288, allocations: 0 / 0.5611 GB, free: 2.578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.3289, allocations: 0 / 0.5611 GB, free: 2.578 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004238/0.3293, allocations: 335.3 kB / 0.5614 GB, free: 2.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3293, allocations: 8.031 kB / 0.5614 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.3293, allocations: 34.75 kB / 0.5614 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.3294, allocations: 4.938 kB / 0.5614 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.3295, allocations: 168.3 kB / 0.5616 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.3295, allocations: 4.375 kB / 0.5616 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.3295, allocations: 4.312 kB / 0.5616 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.3296, allocations: 41.75 kB / 0.5617 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3296, allocations: 0 / 0.5617 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.3297, allocations: 0 / 0.5617 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3297, allocations: 0 / 0.5617 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.184e-05/0.3297, allocations: 4 kB / 0.5617 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.3298, allocations: 145.7 kB / 0.5618 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.95e-05/0.3299, allocations: 26.59 kB / 0.5618 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.3299, allocations: 4.859 kB / 0.5618 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.3299, allocations: 0 / 0.5618 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.3299, allocations: 38.44 kB / 0.5619 GB, free: 1.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.3299, allocations: 0 / 0.5619 GB, free: 1.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001358/0.3301, allocations: 37.77 kB / 0.5619 GB, free: 1.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.3301, allocations: 51.41 kB / 0.5619 GB, free: 1.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.3302, allocations: 102 kB / 0.562 GB, free: 1.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.3302, allocations: 25.7 kB / 0.5621 GB, free: 1.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.3303, allocations: 80.14 kB / 0.5621 GB, free: 1.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.3303, allocations: 3.953 kB / 0.5621 GB, free: 1.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.3303, allocations: 17.72 kB / 0.5622 GB, free: 1.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3304, allocations: 310.8 kB / 0.5625 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.3304, allocations: 3.938 kB / 0.5625 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-06/0.3305, allocations: 7.938 kB / 0.5625 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.753e-05/0.3305, allocations: 13.05 kB / 0.5625 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3305, allocations: 0 / 0.5625 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.826e-05/0.3305, allocations: 37.62 kB / 0.5625 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3306, allocations: 8 kB / 0.5625 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3306, allocations: 0 / 0.5625 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3306, allocations: 0 / 0.5625 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.871e-05/0.3306, allocations: 3.984 kB / 0.5625 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3306, allocations: 4 kB / 0.5625 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.416e-05/0.3307, allocations: 4 kB / 0.5625 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3307, allocations: 4.031 kB / 0.5625 GB, free: 0.8438 MB / 398.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 (1): * Single equations (assignments): 1 * 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 7.27e-05/0.3307, allocations: 105.8 kB / 0.5626 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.3308, allocations: 11.92 kB / 0.5627 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.3309, allocations: 44.77 kB / 0.5627 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3309, allocations: 0 / 0.5627 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3309, allocations: 7.969 kB / 0.5627 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3309, allocations: 0 / 0.5627 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.331, allocations: 145.7 kB / 0.5628 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.331, allocations: 4 kB / 0.5628 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-06/0.331, allocations: 3.938 kB / 0.5629 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.331, allocations: 0 / 0.5629 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.331, allocations: 4 kB / 0.5629 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.331, allocations: 0 / 0.5629 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.331, allocations: 0 / 0.5629 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.054e-05/0.3311, allocations: 69.06 kB / 0.5629 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.3311, allocations: 85.05 kB / 0.563 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.3311, allocations: 0 / 0.563 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.211e-05/0.3312, allocations: 3.984 kB / 0.563 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.3312, allocations: 0 / 0.563 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/0.3312, allocations: 4 kB / 0.563 GB, free: 272 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.965e-05/0.3313, allocations: 75.28 kB / 0.5631 GB, free: 196 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3313, allocations: 0 / 0.5631 GB, free: 196 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000261/0.3315, allocations: 44.06 kB / 0.5631 GB, free: 152 kB / 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005359/0.3321, allocations: 0.6319 MB / 0.5637 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.898e-05/0.3321, allocations: 11.92 kB / 0.5638 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3321, allocations: 0 / 0.5638 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.554e-05/0.3322, allocations: 33.8 kB / 0.5638 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.3323, allocations: 0 / 0.5638 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.3327, allocations: 138.1 kB / 0.5639 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.3329, allocations: 0.6729 MB / 0.5646 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.301e-05/0.333, allocations: 0 / 0.5646 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.333, allocations: 15.42 kB / 0.5646 GB, free: 14.55 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.333, allocations: 0 / 0.5646 GB, free: 14.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.3556, allocations: 1.862 MB / 0.5664 GB, free: 12.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.276, allocations: 10 kB / 0.5664 GB, free: 12.74 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.941663605015492] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.34479897399433 8.364429506 8.031698945 Calling exit ...