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.001316/0.001316, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001479/0.001479, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.391/1.391, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.2179/0.2179, allocations: 46.93 MB / 360.9 MB, free: 4.25 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.001978/0.001978, allocations: 71.88 kB / 0.4961 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2973, allocations: 66.03 MB / 0.5606 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.00155/0.2989, allocations: 0.5071 MB / 0.5611 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.3008, allocations: 1.41 MB / 0.5625 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.3008, allocations: 0 / 0.5625 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.3008, allocations: 0 / 0.5625 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.527e-05/0.3009, allocations: 3.938 kB / 0.5625 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006756/0.3015, allocations: 215.8 kB / 0.5627 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.971e-05/0.3016, allocations: 8 kB / 0.5627 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.3016, allocations: 4 kB / 0.5627 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.506e-05/0.3016, allocations: 0 / 0.5627 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.723e-05/0.3017, allocations: 7.984 kB / 0.5627 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.3017, allocations: 0 / 0.5627 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004604/0.3022, allocations: 279.6 kB / 0.563 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.3022, allocations: 0 / 0.563 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.88e-05/0.3022, allocations: 11.94 kB / 0.563 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.3024, allocations: 141.5 kB / 0.5631 GB, free: 1.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3024, allocations: 0 / 0.5631 GB, free: 1.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3024, allocations: 0 / 0.5631 GB, free: 1.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3024, allocations: 0 / 0.5631 GB, free: 1.898 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.0003465/0.3028, allocations: 258.3 kB / 0.5634 GB, free: 1.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3028, allocations: 12.03 kB / 0.5634 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.259e-05/0.3028, allocations: 34.75 kB / 0.5634 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.3029, allocations: 8.828 kB / 0.5634 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.888e-05/0.303, allocations: 110.5 kB / 0.5635 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.303, allocations: 4.375 kB / 0.5636 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.303, allocations: 4.375 kB / 0.5636 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.3031, allocations: 37.81 kB / 0.5636 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3031, allocations: 3.938 kB / 0.5636 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3031, allocations: 4 kB / 0.5636 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3031, allocations: 0 / 0.5636 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.064e-05/0.3031, allocations: 8 kB / 0.5636 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.3035, allocations: 219.9 kB / 0.5638 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.444e-05/0.3035, allocations: 18.52 kB / 0.5638 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.3035, allocations: 12.92 kB / 0.5638 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.3036, allocations: 0 / 0.5638 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.3036, allocations: 30.56 kB / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.3036, allocations: 0 / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001493/0.3037, allocations: 41.69 kB / 0.5639 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.3038, allocations: 55.34 kB / 0.564 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.296e-05/0.3039, allocations: 93.86 kB / 0.5641 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.3039, allocations: 29.7 kB / 0.5641 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.3039, allocations: 88.08 kB / 0.5642 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.973e-06/0.3039, allocations: 3.953 kB / 0.5642 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.304, allocations: 21.7 kB / 0.5642 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3041, allocations: 319 kB / 0.5645 GB, free: 332 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.3041, allocations: 4 kB / 0.5645 GB, free: 328 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.616e-05/0.3042, allocations: 14.58 kB / 0.5645 GB, free: 304 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.041e-05/0.3042, allocations: 34.5 kB / 0.5645 GB, free: 260 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3042, allocations: 4 kB / 0.5646 GB, free: 256 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.382e-05/0.3043, allocations: 45.64 kB / 0.5646 GB, free: 204 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3043, allocations: 8 kB / 0.5646 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3043, allocations: 0 / 0.5646 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3043, allocations: 0 / 0.5646 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.3044, allocations: 7.984 kB / 0.5646 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.3044, allocations: 4 kB / 0.5646 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.3044, allocations: 0 / 0.5646 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.3044, allocations: 0 / 0.5646 GB, free: 184 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 8.062e-05/0.3045, allocations: 117.9 kB / 0.5647 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.3045, allocations: 4.078 kB / 0.5647 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.3046, allocations: 48.78 kB / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3046, allocations: 0 / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3046, allocations: 0 / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.3046, allocations: 0 / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.3048, allocations: 128.6 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3048, allocations: 7.969 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.3048, allocations: 0 / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3048, allocations: 4 kB / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.3048, allocations: 4 kB / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3048, allocations: 0 / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3048, allocations: 0 / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.3049, allocations: 131.5 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.3049, allocations: 7.984 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.3049, allocations: 7.969 kB / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.009e-05/0.305, allocations: 4 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-06/0.305, allocations: 0 / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.305, allocations: 0 / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.981e-05/0.3051, allocations: 83.28 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3051, allocations: 0 / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.3054, allocations: 39.92 kB / 0.5652 GB, free: 15.52 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.0005907/0.3059, allocations: 0.7046 MB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.725e-05/0.306, allocations: 11.94 kB / 0.5659 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.306, allocations: 4 kB / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.909e-05/0.3061, allocations: 25.7 kB / 0.5659 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.3063, allocations: 4 kB / 0.5659 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.3066, allocations: 130.8 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.307, allocations: 0.6768 MB / 0.5667 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.092e-05/0.307, allocations: 0 / 0.5667 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.307, allocations: 7.438 kB / 0.5667 GB, free: 13.86 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.307, allocations: 0 / 0.5667 GB, free: 13.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.3335, allocations: 1.956 MB / 0.5686 GB, free: 12.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.05, allocations: 11.88 kB / 0.5686 GB, free: 12.02 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.92188217799412] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'a', 'b'] 11.158078918000683 11.184378163 10.877062644 Calling exit ...