Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 110.1 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.1 MB / 227.9 MB, free: 4.344 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3392/0.3392, allocations: 43.52 MB / 320.8 MB, free: 8.98 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 75.89 kB / 450 MB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2722, allocations: 57.79 MB / 0.4959 GB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001478/0.2738, allocations: 0.5048 MB / 0.4964 GB, free: 19.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.2751, allocations: 1.381 MB / 0.4977 GB, free: 17.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.2752, allocations: 0 / 0.4977 GB, free: 17.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.2752, allocations: 3.938 kB / 0.4977 GB, free: 17.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.906e-05/0.2752, allocations: 1.25 kB / 0.4977 GB, free: 17.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.2758, allocations: 218.2 kB / 0.4979 GB, free: 17.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.328e-05/0.2759, allocations: 11.95 kB / 0.498 GB, free: 17.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.2759, allocations: 5.594 kB / 0.498 GB, free: 17.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.935e-05/0.2759, allocations: 7.969 kB / 0.498 GB, free: 17.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.276, allocations: 3.938 kB / 0.498 GB, free: 17.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.276, allocations: 1.188 kB / 0.498 GB, free: 17.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003818/0.2764, allocations: 272.3 kB / 0.4982 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.2764, allocations: 5.047 kB / 0.4982 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.507e-05/0.2764, allocations: 1.125 kB / 0.4982 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.2766, allocations: 145.5 kB / 0.4984 GB, free: 17.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2766, allocations: 0 / 0.4984 GB, free: 17.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2766, allocations: 0 / 0.4984 GB, free: 17.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2766, allocations: 5.094 kB / 0.4984 GB, free: 17.52 MB / 382.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.0002816/0.2769, allocations: 336.6 kB / 0.4987 GB, free: 17.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.277, allocations: 14.17 kB / 0.4987 GB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.277, allocations: 34.69 kB / 0.4987 GB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.44e-05/0.277, allocations: 2.25 kB / 0.4987 GB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.123e-05/0.2771, allocations: 168.4 kB / 0.4989 GB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.2771, allocations: 1.656 kB / 0.4989 GB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.2771, allocations: 384 / 0.4989 GB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.474e-05/0.2772, allocations: 37.86 kB / 0.4989 GB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.2772, allocations: 0 / 0.4989 GB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.2773, allocations: 0 / 0.4989 GB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2773, allocations: 5 kB / 0.499 GB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.2773, allocations: 1.438 kB / 0.499 GB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.897e-05/0.2774, allocations: 152.3 kB / 0.4991 GB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.567e-05/0.2774, allocations: 21.14 kB / 0.4991 GB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.347e-05/0.2774, allocations: 6.297 kB / 0.4991 GB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-06/0.2774, allocations: 4 kB / 0.4991 GB, free: 16.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.2775, allocations: 39.88 kB / 0.4992 GB, free: 16.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.2775, allocations: 0 / 0.4992 GB, free: 16.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001167/0.2776, allocations: 37.28 kB / 0.4992 GB, free: 16.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.749e-05/0.2776, allocations: 55.34 kB / 0.4993 GB, free: 16.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.381e-05/0.2777, allocations: 92.05 kB / 0.4993 GB, free: 16.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.2777, allocations: 30.77 kB / 0.4994 GB, free: 16.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.787e-05/0.2777, allocations: 84.39 kB / 0.4995 GB, free: 16.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.2777, allocations: 5.078 kB / 0.4995 GB, free: 16.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.2778, allocations: 11.84 kB / 0.4995 GB, free: 16.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.941e-05/0.2778, allocations: 315.9 kB / 0.4998 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.2778, allocations: 1.125 kB / 0.4998 GB, free: 15.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-06/0.2778, allocations: 1.031 kB / 0.4998 GB, free: 15.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.227e-05/0.2779, allocations: 16.14 kB / 0.4998 GB, free: 15.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2779, allocations: 1.031 kB / 0.4998 GB, free: 15.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.808e-05/0.2779, allocations: 44.3 kB / 0.4998 GB, free: 15.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2779, allocations: 4.344 kB / 0.4998 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.278, allocations: 1.125 kB / 0.4998 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.278, allocations: 0 / 0.4998 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.278, allocations: 6.109 kB / 0.4998 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2781, allocations: 0 / 0.4998 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.208e-05/0.2781, allocations: 1.062 kB / 0.4998 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2781, allocations: 1.094 kB / 0.4998 GB, free: 15.87 MB / 382.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 4.203e-05/0.2781, allocations: 110.9 kB / 0.5 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-06/0.2781, allocations: 5.031 kB / 0.5 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.711e-05/0.2782, allocations: 45.41 kB / 0.5 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.2783, allocations: 0 / 0.5 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2783, allocations: 5.062 kB / 0.5 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2783, allocations: 3.984 kB / 0.5 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.558e-05/0.2783, allocations: 147.9 kB / 0.5001 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.2783, allocations: 5.062 kB / 0.5002 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-06/0.2784, allocations: 3.938 kB / 0.5002 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.2784, allocations: 5.031 kB / 0.5002 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.2784, allocations: 1.094 kB / 0.5002 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2784, allocations: 0 / 0.5002 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2784, allocations: 0 / 0.5002 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.261e-05/0.2784, allocations: 57.73 kB / 0.5002 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.2785, allocations: 93.8 kB / 0.5003 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.2785, allocations: 5.094 kB / 0.5003 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.07e-05/0.2785, allocations: 1.25 kB / 0.5003 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.2786, allocations: 1.094 kB / 0.5003 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.2786, allocations: 1.125 kB / 0.5003 GB, free: 15.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.783e-05/0.2786, allocations: 80.56 kB / 0.5004 GB, free: 15.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2786, allocations: 1.312 kB / 0.5004 GB, free: 15.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.2788, allocations: 42.3 kB / 0.5004 GB, free: 15.22 MB / 382.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.0003558/0.2792, allocations: 0.6375 MB / 0.5011 GB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.544e-05/0.2793, allocations: 5.938 kB / 0.5011 GB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.2793, allocations: 4 kB / 0.5011 GB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.763e-05/0.2793, allocations: 32.08 kB / 0.5011 GB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.2795, allocations: 5.5 kB / 0.5011 GB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.2798, allocations: 134.8 kB / 0.5012 GB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.075e-05/0.2799, allocations: 0.675 MB / 0.5019 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.469e-05/0.2799, allocations: 1.094 kB / 0.5019 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.2799, allocations: 8.688 kB / 0.5019 GB, free: 13.7 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2799, allocations: 0 / 0.5019 GB, free: 13.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.3025, allocations: 1.846 MB / 0.5037 GB, free: 12.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.146, allocations: 3.781 kB / 0.5037 GB, free: 12.56 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.950377420987934] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.212045816006139 8.229514296 7.949767901 Calling exit ...