Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001339/0.001339, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001349/0.001349, allocations: 203.4 kB / 23.73 MB, free: 4.379 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.403/1.403, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2157/0.2157, allocations: 46.95 MB / 360.9 MB, free: 4.023 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.Test01RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 59.91 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3071, allocations: 66.04 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001557/0.3087, allocations: 0.4982 MB / 0.5611 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.3105, allocations: 1.346 MB / 0.5624 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.3105, allocations: 0 / 0.5624 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.3105, allocations: 0 / 0.5624 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.808e-05/0.3106, allocations: 0 / 0.5624 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000693/0.3112, allocations: 219.7 kB / 0.5626 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.701e-05/0.3113, allocations: 11.98 kB / 0.5626 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.3113, allocations: 4 kB / 0.5626 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.715e-05/0.3114, allocations: 7.938 kB / 0.5626 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.974e-05/0.3114, allocations: 7.984 kB / 0.5626 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3114, allocations: 0 / 0.5626 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004397/0.3119, allocations: 275.6 kB / 0.5629 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.3119, allocations: 3.984 kB / 0.5629 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.3119, allocations: 4 kB / 0.5629 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.3121, allocations: 145.4 kB / 0.563 GB, free: 1.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3121, allocations: 0 / 0.563 GB, free: 1.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3121, allocations: 0 / 0.563 GB, free: 1.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3121, allocations: 4 kB / 0.563 GB, free: 1.711 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.0003603/0.3125, allocations: 262.2 kB / 0.5633 GB, free: 1.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3125, allocations: 12.03 kB / 0.5633 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.3125, allocations: 30.75 kB / 0.5633 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.332e-05/0.3126, allocations: 0.9375 kB / 0.5633 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.3127, allocations: 114.5 kB / 0.5634 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3127, allocations: 384 / 0.5634 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.3127, allocations: 4.359 kB / 0.5634 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.3128, allocations: 63.47 kB / 0.5635 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.3128, allocations: 0 / 0.5635 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.3128, allocations: 4 kB / 0.5635 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3128, allocations: 0 / 0.5635 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.984e-05/0.3129, allocations: 4 kB / 0.5635 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.313, allocations: 124.7 kB / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.235e-05/0.313, allocations: 18.61 kB / 0.5636 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.3131, allocations: 4.859 kB / 0.5636 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.3131, allocations: 3.938 kB / 0.5636 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3131, allocations: 42.56 kB / 0.5637 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.3131, allocations: 0 / 0.5637 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001244/0.3132, allocations: 33.83 kB / 0.5637 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.3133, allocations: 59.39 kB / 0.5638 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.851e-05/0.3133, allocations: 89.86 kB / 0.5639 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.3134, allocations: 29.7 kB / 0.5639 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.3134, allocations: 84.14 kB / 0.564 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.3134, allocations: 3.953 kB / 0.564 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.3135, allocations: 13.72 kB / 0.564 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3136, allocations: 310.8 kB / 0.5643 GB, free: 240 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.3136, allocations: 0 / 0.5643 GB, free: 240 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.421e-05/0.3136, allocations: 11.92 kB / 0.5643 GB, free: 228 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.317e-05/0.3136, allocations: 12.98 kB / 0.5643 GB, free: 212 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3136, allocations: 0 / 0.5643 GB, free: 212 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.584e-05/0.3137, allocations: 41.64 kB / 0.5643 GB, free: 164 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.3137, allocations: 4 kB / 0.5643 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3137, allocations: 4 kB / 0.5644 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3137, allocations: 0 / 0.5644 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.3138, allocations: 0 / 0.5644 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3138, allocations: 0 / 0.5644 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.126e-05/0.3138, allocations: 0 / 0.5644 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3138, allocations: 7.984 kB / 0.5644 GB, free: 148 kB / 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 6.81e-05/0.3139, allocations: 109.9 kB / 0.5645 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.3139, allocations: 7.875 kB / 0.5645 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.314, allocations: 44.84 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.314, allocations: 4 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.314, allocations: 0 / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.314, allocations: 0 / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.407e-05/0.3141, allocations: 116.8 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.3141, allocations: 8.031 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-06/0.3141, allocations: 3.938 kB / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3141, allocations: 0 / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.3141, allocations: 0 / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.3141, allocations: 0 / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3141, allocations: 0 / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.379e-05/0.3142, allocations: 69.06 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-06/0.3142, allocations: 7.938 kB / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.3142, allocations: 0 / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.218e-05/0.3143, allocations: 11.92 kB / 0.5647 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-06/0.3143, allocations: 4.031 kB / 0.5647 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.3143, allocations: 0 / 0.5647 GB, free: 15.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.935e-05/0.3143, allocations: 83.28 kB / 0.5648 GB, free: 15.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3143, allocations: 0 / 0.5648 GB, free: 15.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.3146, allocations: 35.94 kB / 0.5648 GB, free: 15.57 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.0004895/0.3151, allocations: 0.6319 MB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.4e-05/0.3151, allocations: 11.92 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3151, allocations: 0 / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.3152, allocations: 41.83 kB / 0.5655 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.3153, allocations: 4 kB / 0.5655 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.3156, allocations: 118.6 kB / 0.5656 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.508e-05/0.3157, allocations: 55.36 kB / 0.5657 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.298e-05/0.3157, allocations: 0 / 0.5657 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.3157, allocations: 11.42 kB / 0.5657 GB, free: 14.6 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3157, allocations: 0 / 0.5657 GB, free: 14.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.341, allocations: 2.391 MB / 0.568 GB, free: 12.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.67, allocations: 11.36 kB / 0.568 GB, free: 12.32 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.528819148021284] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 10.771168937004404 10.786645319 10.47137424 Calling exit ...