Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001527/0.001527, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.00145/0.00145, allocations: 212 kB / 23.74 MB, free: 4.656 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.435/1.435, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2217/0.2217, allocations: 44.92 MB / 358.8 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test01RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003305/0.003305, allocations: 67.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3144, allocations: 65.47 MB / 0.557 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001627/0.3161, allocations: 0.4891 MB / 0.5575 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.3181, allocations: 1.412 MB / 0.5589 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.3181, allocations: 0 / 0.5589 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.3181, allocations: 0 / 0.5589 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.233e-05/0.3182, allocations: 0 / 0.5589 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007162/0.3189, allocations: 223.8 kB / 0.5591 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.658e-05/0.3189, allocations: 4 kB / 0.5591 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.336e-05/0.319, allocations: 7.984 kB / 0.5591 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.784e-05/0.319, allocations: 7.984 kB / 0.5591 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.319, allocations: 4 kB / 0.5591 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.319, allocations: 4 kB / 0.5591 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004522/0.3195, allocations: 271.6 kB / 0.5594 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.3195, allocations: 7.938 kB / 0.5594 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/0.3195, allocations: 3.984 kB / 0.5594 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.3197, allocations: 141.5 kB / 0.5595 GB, free: 5.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3197, allocations: 0 / 0.5595 GB, free: 5.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3197, allocations: 0 / 0.5595 GB, free: 5.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.3197, allocations: 4 kB / 0.5595 GB, free: 5.156 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.0003531/0.3201, allocations: 262.2 kB / 0.5598 GB, free: 4.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.3201, allocations: 8.031 kB / 0.5598 GB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.3202, allocations: 30.75 kB / 0.5598 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.079e-05/0.3202, allocations: 8.875 kB / 0.5598 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.3203, allocations: 110.4 kB / 0.5599 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-06/0.3203, allocations: 384 / 0.5599 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.3203, allocations: 384 / 0.5599 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.286e-05/0.3204, allocations: 53.75 kB / 0.56 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.3204, allocations: 0 / 0.56 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3204, allocations: 3.984 kB / 0.56 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3204, allocations: 4 kB / 0.56 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.794e-05/0.3204, allocations: 0 / 0.56 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.3206, allocations: 120.8 kB / 0.5601 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.176e-05/0.3206, allocations: 18.58 kB / 0.5601 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.3206, allocations: 12.89 kB / 0.5601 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.3206, allocations: 4 kB / 0.5601 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.3207, allocations: 34.5 kB / 0.5602 GB, free: 4.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3207, allocations: 0 / 0.5602 GB, free: 4.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001258/0.3208, allocations: 37.69 kB / 0.5602 GB, free: 4.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.3208, allocations: 51.41 kB / 0.5602 GB, free: 4.262 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/0.3209, allocations: 97.86 kB / 0.5603 GB, free: 4.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3209, allocations: 25.95 kB / 0.5604 GB, free: 4.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.3209, allocations: 84.14 kB / 0.5604 GB, free: 4.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.321, allocations: 3.953 kB / 0.5604 GB, free: 4.035 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.321, allocations: 13.72 kB / 0.5605 GB, free: 4.016 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3212, allocations: 314.8 kB / 0.5608 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.3212, allocations: 7.922 kB / 0.5608 GB, free: 3.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-06/0.3212, allocations: 0 / 0.5608 GB, free: 3.691 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.229e-05/0.3212, allocations: 8.859 kB / 0.5608 GB, free: 3.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3212, allocations: 4.062 kB / 0.5608 GB, free: 3.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.951e-05/0.3213, allocations: 37.64 kB / 0.5608 GB, free: 3.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3213, allocations: 4 kB / 0.5608 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.3213, allocations: 0 / 0.5608 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3213, allocations: 4 kB / 0.5608 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.453e-05/0.3214, allocations: 0 / 0.5608 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3214, allocations: 0 / 0.5608 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.3214, allocations: 3.984 kB / 0.5608 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3214, allocations: 4 kB / 0.5608 GB, free: 3.617 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.788e-05/0.3215, allocations: 121.8 kB / 0.5609 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.3215, allocations: 3.938 kB / 0.5609 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.3216, allocations: 44.78 kB / 0.561 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3216, allocations: 0 / 0.561 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3216, allocations: 0 / 0.561 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3216, allocations: 4 kB / 0.561 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.523e-05/0.3217, allocations: 116.8 kB / 0.5611 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3217, allocations: 7.969 kB / 0.5611 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-06/0.3217, allocations: 11.92 kB / 0.5611 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.3217, allocations: 0 / 0.5611 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.3217, allocations: 0 / 0.5611 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.3217, allocations: 0 / 0.5611 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.3217, allocations: 4 kB / 0.5611 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.647e-05/0.3218, allocations: 61.08 kB / 0.5612 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.3218, allocations: 7.969 kB / 0.5612 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.3218, allocations: 11.98 kB / 0.5612 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.906e-05/0.3219, allocations: 0 / 0.5612 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.3219, allocations: 0 / 0.5612 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3219, allocations: 4 kB / 0.5612 GB, free: 3.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.144e-05/0.3219, allocations: 75.28 kB / 0.5613 GB, free: 3.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3219, allocations: 0 / 0.5613 GB, free: 3.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.3222, allocations: 43.92 kB / 0.5613 GB, free: 3.027 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 (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.0005308/0.3227, allocations: 0.6397 MB / 0.5619 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.843e-05/0.3228, allocations: 4 kB / 0.562 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3228, allocations: 0 / 0.562 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.54e-05/0.3228, allocations: 29.7 kB / 0.562 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.323, allocations: 7.938 kB / 0.562 GB, free: 2.309 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.3233, allocations: 122.8 kB / 0.5621 GB, free: 2.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.3236, allocations: 0.6729 MB / 0.5628 GB, free: 1.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.335e-05/0.3236, allocations: 4 kB / 0.5628 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.3236, allocations: 7.438 kB / 0.5628 GB, free: 1.438 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3236, allocations: 0 / 0.5628 GB, free: 1.438 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.3503, allocations: 1.957 MB / 0.5647 GB, free: 15.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.27, allocations: 0 / 0.5647 GB, free: 15.61 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.180027559996233] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 11.372391590004554 11.393507251 11.070515904 Calling exit ...