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.001279/0.001279, 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.001398/0.001398, allocations: 214.4 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.398/1.398, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2088/0.2088, allocations: 46.93 MB / 360.9 MB, free: 4.273 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.002002/0.002002, allocations: 67.89 kB / 0.4961 GB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2999, allocations: 66.04 MB / 0.5606 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001591/0.3015, allocations: 0.4954 MB / 0.5611 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.3034, allocations: 1.42 MB / 0.5625 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.3035, allocations: 0 / 0.5625 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.3035, allocations: 0 / 0.5625 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.538e-05/0.3035, allocations: 0 / 0.5625 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006793/0.3042, allocations: 219.7 kB / 0.5627 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.282e-05/0.3042, allocations: 8 kB / 0.5627 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.3043, allocations: 3.984 kB / 0.5627 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.732e-05/0.3043, allocations: 4 kB / 0.5627 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.3043, allocations: 0 / 0.5627 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.3043, allocations: 4 kB / 0.5627 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004536/0.3048, allocations: 279.6 kB / 0.563 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.3048, allocations: 0 / 0.563 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.819e-05/0.3048, allocations: 7.922 kB / 0.563 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.305, allocations: 145.5 kB / 0.5631 GB, free: 1.891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3051, allocations: 0 / 0.5631 GB, free: 1.891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3051, allocations: 3.938 kB / 0.5631 GB, free: 1.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3051, allocations: 0 / 0.5631 GB, free: 1.887 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.0003648/0.3054, allocations: 262.2 kB / 0.5634 GB, free: 1.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3055, allocations: 12.03 kB / 0.5634 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.3055, allocations: 30.75 kB / 0.5634 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.3055, allocations: 4.875 kB / 0.5634 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.3056, allocations: 110.5 kB / 0.5635 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-06/0.3056, allocations: 384 / 0.5635 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.3056, allocations: 4.359 kB / 0.5635 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.152e-05/0.3057, allocations: 33.83 kB / 0.5636 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3057, allocations: 3.938 kB / 0.5636 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.3057, allocations: 0 / 0.5636 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3057, allocations: 0 / 0.5636 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.223e-05/0.3058, allocations: 11.94 kB / 0.5636 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.3059, allocations: 120.8 kB / 0.5637 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.78e-05/0.3059, allocations: 18.58 kB / 0.5637 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/0.306, allocations: 4.859 kB / 0.5637 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.306, allocations: 64 / 0.5637 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.306, allocations: 42.5 kB / 0.5638 GB, free: 1.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.306, allocations: 4 kB / 0.5638 GB, free: 1.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001301/0.3061, allocations: 45.61 kB / 0.5638 GB, free: 1.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.3062, allocations: 51.41 kB / 0.5639 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.461e-05/0.3062, allocations: 89.86 kB / 0.564 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3063, allocations: 25.7 kB / 0.564 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.3063, allocations: 88.14 kB / 0.5641 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.3063, allocations: 3.953 kB / 0.5641 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.3063, allocations: 9.969 kB / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3065, allocations: 318.8 kB / 0.5644 GB, free: 444 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.3065, allocations: 3.984 kB / 0.5644 GB, free: 440 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-06/0.3065, allocations: 0 / 0.5644 GB, free: 440 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.907e-05/0.3065, allocations: 12.86 kB / 0.5644 GB, free: 424 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3065, allocations: 0 / 0.5644 GB, free: 424 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.137e-05/0.3066, allocations: 41.58 kB / 0.5644 GB, free: 376 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3066, allocations: 4 kB / 0.5644 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3066, allocations: 96 / 0.5644 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3066, allocations: 4 kB / 0.5644 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.476e-05/0.3067, allocations: 4 kB / 0.5644 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3067, allocations: 3.984 kB / 0.5645 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.3067, allocations: 0 / 0.5645 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3067, allocations: 4 kB / 0.5645 GB, free: 356 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 7.193e-05/0.3068, allocations: 113.8 kB / 0.5646 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.3068, allocations: 3.938 kB / 0.5646 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.3069, allocations: 48.84 kB / 0.5646 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3069, allocations: 3.938 kB / 0.5646 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3069, allocations: 0 / 0.5646 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3069, allocations: 0 / 0.5646 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.067e-05/0.307, allocations: 120.7 kB / 0.5647 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.307, allocations: 112 / 0.5647 GB, free: 16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-06/0.307, allocations: 11.86 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.307, allocations: 0 / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.307, allocations: 4 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.307, allocations: 4.031 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.307, allocations: 0 / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.834e-05/0.3071, allocations: 57.14 kB / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.3071, allocations: 7.938 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.3071, allocations: 3.984 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.3072, allocations: 4 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.3072, allocations: 0 / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.3072, allocations: 4.031 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.131e-05/0.3072, allocations: 83.28 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3072, allocations: 0 / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.3075, allocations: 39.92 kB / 0.5649 GB, free: 15.76 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.0005334/0.308, allocations: 0.6359 MB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.027e-05/0.3081, allocations: 8 kB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3081, allocations: 0 / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/0.3081, allocations: 33.64 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.3083, allocations: 2.656 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.3086, allocations: 126.6 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.3089, allocations: 0.6729 MB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.669e-05/0.3089, allocations: 4.125 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.309, allocations: 11.44 kB / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.309, allocations: 0 / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.3348, allocations: 1.945 MB / 0.5683 GB, free: 12.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.05, allocations: 13.86 kB / 0.5683 GB, free: 12.34 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.997034902997257] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 11.15468022099958 11.170880583 10.862659564 Calling exit ...