Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 211.6 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.351/1.351, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2209/0.2209, allocations: 46.96 MB / 360.9 MB, free: 4.152 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 71.89 kB / 0.4961 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3006, allocations: 66.03 MB / 0.5606 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001706/0.3023, allocations: 0.4993 MB / 0.5611 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.3041, allocations: 1.346 MB / 0.5624 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.3041, allocations: 0 / 0.5624 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.3042, allocations: 4 kB / 0.5624 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.844e-05/0.3042, allocations: 3.938 kB / 0.5624 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006497/0.3048, allocations: 211.2 kB / 0.5626 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.352e-05/0.3049, allocations: 11.98 kB / 0.5626 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.3049, allocations: 0 / 0.5626 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.92e-05/0.3049, allocations: 11.88 kB / 0.5626 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.252e-05/0.305, allocations: 0 / 0.5626 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.305, allocations: 4 kB / 0.5626 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.3054, allocations: 279.6 kB / 0.5629 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.3054, allocations: 0 / 0.5629 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.3055, allocations: 8 kB / 0.5629 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.3057, allocations: 145.4 kB / 0.563 GB, free: 1.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3057, allocations: 0 / 0.563 GB, free: 1.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3057, allocations: 0 / 0.563 GB, free: 1.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.3057, allocations: 0 / 0.563 GB, free: 1.758 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003658/0.3061, allocations: 258.3 kB / 0.5633 GB, free: 1.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3061, allocations: 12.03 kB / 0.5633 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.3061, allocations: 34.73 kB / 0.5633 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.425e-05/0.3062, allocations: 4.891 kB / 0.5633 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.988e-05/0.3062, allocations: 110.5 kB / 0.5634 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-06/0.3063, allocations: 8.312 kB / 0.5634 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.3063, allocations: 4.375 kB / 0.5634 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.3064, allocations: 71.5 kB / 0.5635 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.3064, allocations: 0 / 0.5635 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.3064, allocations: 0 / 0.5635 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3064, allocations: 0 / 0.5635 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.118e-05/0.3064, allocations: 8 kB / 0.5635 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.3068, allocations: 211.9 kB / 0.5637 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.695e-05/0.3068, allocations: 26.55 kB / 0.5637 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.09e-05/0.3068, allocations: 8.859 kB / 0.5637 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-06/0.3068, allocations: 4 kB / 0.5637 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.3069, allocations: 30.62 kB / 0.5638 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3069, allocations: 4 kB / 0.5638 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001353/0.307, allocations: 33.64 kB / 0.5638 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.307, allocations: 51.41 kB / 0.5639 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.563e-05/0.3071, allocations: 101.8 kB / 0.564 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.3071, allocations: 25.7 kB / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.3072, allocations: 88.09 kB / 0.5641 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/0.3072, allocations: 3.953 kB / 0.5641 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.3072, allocations: 17.97 kB / 0.5641 GB, free: 492 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3073, allocations: 318.8 kB / 0.5644 GB, free: 164 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.3074, allocations: 3.984 kB / 0.5644 GB, free: 160 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.149e-05/0.3074, allocations: 22.52 kB / 0.5644 GB, free: 128 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.943e-05/0.3074, allocations: 30.52 kB / 0.5644 GB, free: 88 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3074, allocations: 0 / 0.5644 GB, free: 88 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.074e-05/0.3075, allocations: 49.62 kB / 0.5645 GB, free: 32 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3075, allocations: 8 kB / 0.5645 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.3075, allocations: 4.094 kB / 0.5645 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3075, allocations: 0 / 0.5645 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.525e-05/0.3076, allocations: 4 kB / 0.5645 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3076, allocations: 4 kB / 0.5645 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.666e-05/0.3076, allocations: 4 kB / 0.5645 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.3076, allocations: 0 / 0.5645 GB, free: 8 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.445e-05/0.3077, allocations: 117.8 kB / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.3077, allocations: 0 / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.3078, allocations: 48.8 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3078, allocations: 0 / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3078, allocations: 4 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3078, allocations: 0 / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.308, allocations: 120.7 kB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.308, allocations: 4 kB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.308, allocations: 0 / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.308, allocations: 3.938 kB / 0.5648 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.308, allocations: 0 / 0.5648 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.308, allocations: 0 / 0.5648 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.308, allocations: 4.031 kB / 0.5648 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.3081, allocations: 139.4 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.3081, allocations: 16.03 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.3081, allocations: 0 / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.3082, allocations: 0 / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.3082, allocations: 0 / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3082, allocations: 4 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.404e-05/0.3082, allocations: 83.27 kB / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3082, allocations: 0 / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.3085, allocations: 39.94 kB / 0.5651 GB, free: 15.36 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 (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.0005311/0.309, allocations: 0.7085 MB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.765e-05/0.3091, allocations: 11.94 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3091, allocations: 7.938 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.3091, allocations: 29.69 kB / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.3093, allocations: 9.609 kB / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.3097, allocations: 122.6 kB / 0.5659 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.867e-05/0.3098, allocations: 55.64 kB / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.904e-05/0.3098, allocations: 4 kB / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.3098, allocations: 11.44 kB / 0.566 GB, free: 14.31 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3098, allocations: 0 / 0.566 GB, free: 14.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.3364, allocations: 2.398 MB / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.95, allocations: 0 / 0.5683 GB, free: 12.04 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_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_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.771683500992367] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'a', 'b'] 11.049827923998237 11.074663883 10.764387951 Calling exit ...