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.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.001765/0.001765, allocations: 115.2 kB / 17.13 MB, free: 5.93 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.002295/0.002295, allocations: 212 kB / 20.09 MB, free: 2.977 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.486/1.486, allocations: 207.6 MB / 230.5 MB, free: 4.02 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.3496/0.3496, allocations: 44.23 MB / 326.6 MB, free: 6.809 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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 71.91 kB / 462.2 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.27, allocations: 61 MB / 0.5109 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001554/0.2716, allocations: 0.5097 MB / 0.5114 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.273, allocations: 1.395 MB / 0.5128 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.273, allocations: 1.062 kB / 0.5128 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.263e-05/0.273, allocations: 0 / 0.5128 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.741e-05/0.273, allocations: 0 / 0.5128 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006186/0.2737, allocations: 221.5 kB / 0.513 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.552e-05/0.2737, allocations: 4.188 kB / 0.513 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.2738, allocations: 5.109 kB / 0.513 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.7e-05/0.2738, allocations: 6.25 kB / 0.513 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.663e-05/0.2738, allocations: 6.312 kB / 0.513 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.2738, allocations: 0 / 0.513 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003707/0.2742, allocations: 276.8 kB / 0.5133 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.2742, allocations: 7.172 kB / 0.5133 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.791e-05/0.2742, allocations: 3.938 kB / 0.5133 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.2744, allocations: 141.7 kB / 0.5134 GB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2744, allocations: 0 / 0.5134 GB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2744, allocations: 0 / 0.5134 GB, free: 11.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2744, allocations: 0 / 0.5134 GB, free: 11.21 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.0003095/0.2747, allocations: 338.9 kB / 0.5138 GB, free: 10.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2748, allocations: 11.95 kB / 0.5138 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.2748, allocations: 34.75 kB / 0.5138 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.2748, allocations: 4.719 kB / 0.5138 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.964e-05/0.2749, allocations: 164.4 kB / 0.514 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.2749, allocations: 384 / 0.514 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.2749, allocations: 384 / 0.514 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.155e-05/0.275, allocations: 36.69 kB / 0.514 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.275, allocations: 0 / 0.514 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.275, allocations: 4 kB / 0.514 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.275, allocations: 0 / 0.514 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.275, allocations: 15.69 kB / 0.514 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.2751, allocations: 151.8 kB / 0.5142 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.401e-05/0.2752, allocations: 15.73 kB / 0.5142 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.2752, allocations: 11.52 kB / 0.5142 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.491e-06/0.2752, allocations: 0 / 0.5142 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.2752, allocations: 38.48 kB / 0.5142 GB, free: 10.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.2752, allocations: 0 / 0.5142 GB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001226/0.2753, allocations: 43.23 kB / 0.5143 GB, free: 10.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.2754, allocations: 51.41 kB / 0.5143 GB, free: 10.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.926e-05/0.2754, allocations: 99.28 kB / 0.5144 GB, free: 10.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.2754, allocations: 25.7 kB / 0.5144 GB, free: 10.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.551e-05/0.2754, allocations: 80.14 kB / 0.5145 GB, free: 9.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.2755, allocations: 5.734 kB / 0.5145 GB, free: 9.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.2755, allocations: 10.91 kB / 0.5145 GB, free: 9.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.161e-05/0.2755, allocations: 316.3 kB / 0.5148 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.2755, allocations: 1.094 kB / 0.5148 GB, free: 9.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-06/0.2756, allocations: 2.031 kB / 0.5148 GB, free: 9.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/0.2756, allocations: 15.91 kB / 0.5148 GB, free: 9.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2756, allocations: 3.938 kB / 0.5148 GB, free: 9.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.021e-05/0.2756, allocations: 39.98 kB / 0.5149 GB, free: 9.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2756, allocations: 6.062 kB / 0.5149 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2756, allocations: 0 / 0.5149 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2757, allocations: 4.094 kB / 0.5149 GB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/0.2757, allocations: 2.594 kB / 0.5149 GB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2757, allocations: 0 / 0.5149 GB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.226e-05/0.2757, allocations: 0.875 kB / 0.5149 GB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.2757, allocations: 1.062 kB / 0.5149 GB, free: 9.551 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 5.756e-05/0.2758, allocations: 111.1 kB / 0.515 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.2758, allocations: 5.219 kB / 0.515 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.2759, allocations: 48.45 kB / 0.5151 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2759, allocations: 1.219 kB / 0.5151 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2759, allocations: 0 / 0.5151 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2759, allocations: 3.984 kB / 0.5151 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.695e-05/0.276, allocations: 143.8 kB / 0.5152 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.276, allocations: 1.125 kB / 0.5152 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-06/0.276, allocations: 5.094 kB / 0.5152 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.276, allocations: 0 / 0.5152 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.276, allocations: 5.031 kB / 0.5152 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.276, allocations: 8.016 kB / 0.5152 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.276, allocations: 1.125 kB / 0.5152 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.379e-05/0.2761, allocations: 52.86 kB / 0.5153 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.2761, allocations: 86.16 kB / 0.5154 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.2761, allocations: 7.938 kB / 0.5154 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.2762, allocations: 6.203 kB / 0.5154 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.2762, allocations: 1.062 kB / 0.5154 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.2762, allocations: 9.188 kB / 0.5154 GB, free: 8.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.204e-05/0.2762, allocations: 81.47 kB / 0.5155 GB, free: 8.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2762, allocations: 0 / 0.5155 GB, free: 8.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.2765, allocations: 38.38 kB / 0.5155 GB, free: 8.906 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.0003963/0.2769, allocations: 0.638 MB / 0.5161 GB, free: 8.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.98e-05/0.277, allocations: 9.25 kB / 0.5161 GB, free: 8.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.277, allocations: 0 / 0.5161 GB, free: 8.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.057e-05/0.277, allocations: 32.2 kB / 0.5162 GB, free: 8.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.2772, allocations: 5.438 kB / 0.5162 GB, free: 8.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.2775, allocations: 132.3 kB / 0.5163 GB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.2776, allocations: 0.6755 MB / 0.5169 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.657e-05/0.2776, allocations: 5.875 kB / 0.5169 GB, free: 7.387 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158e-05/0.2776, allocations: 7.438 kB / 0.517 GB, free: 7.379 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2776, allocations: 0 / 0.517 GB, free: 7.379 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.3007, allocations: 1.844 MB / 0.5188 GB, free: 6.258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.184, allocations: 11.89 kB / 0.5188 GB, free: 6.246 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: 11.071199939004146] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.251452999000321 8.269953651 7.991498828 Calling exit ...