Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001777/0.001777, allocations: 117.6 kB / 17.13 MB, free: 5.941 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.002092/0.002092, allocations: 208.3 kB / 20.09 MB, free: 3 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.487/1.487, 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.3362/0.3362, allocations: 44.22 MB / 326.6 MB, free: 6.84 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.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",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.002136/0.002136, allocations: 72.47 kB / 462.2 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2798, allocations: 61 MB / 0.5109 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.002108/0.2819, allocations: 0.5019 MB / 0.5114 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.2843, allocations: 1.396 MB / 0.5128 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.2843, allocations: 3.938 kB / 0.5128 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.2844, allocations: 0 / 0.5128 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.745e-05/0.2844, allocations: 0 / 0.5128 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.2855, allocations: 221.8 kB / 0.513 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.536e-05/0.2855, allocations: 13.66 kB / 0.513 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.507e-05/0.2856, allocations: 3.984 kB / 0.513 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.174e-05/0.2856, allocations: 2.938 kB / 0.513 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.2856, allocations: 13.64 kB / 0.513 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.2857, allocations: 1.406 kB / 0.513 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006119/0.2863, allocations: 272 kB / 0.5133 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.2863, allocations: 1.469 kB / 0.5133 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.2863, allocations: 5.594 kB / 0.5133 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.2866, allocations: 143.5 kB / 0.5134 GB, free: 11.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2866, allocations: 0 / 0.5134 GB, free: 11.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2866, allocations: 0 / 0.5134 GB, free: 11.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2866, allocations: 3.938 kB / 0.5134 GB, free: 11.37 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003831/0.287, allocations: 347.2 kB / 0.5138 GB, free: 11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.287, allocations: 13.73 kB / 0.5138 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.2871, allocations: 30.75 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.2871, allocations: 2.344 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.135e-05/0.2872, allocations: 164.4 kB / 0.514 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.2872, allocations: 1.906 kB / 0.514 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.2872, allocations: 1.844 kB / 0.514 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.2873, allocations: 43.44 kB / 0.514 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2873, allocations: 0 / 0.514 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2874, allocations: 0 / 0.514 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2874, allocations: 5.344 kB / 0.514 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.59e-05/0.2874, allocations: 11.89 kB / 0.514 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.2878, allocations: 240 kB / 0.5143 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.571e-05/0.2878, allocations: 18.14 kB / 0.5143 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.26e-05/0.2878, allocations: 4.859 kB / 0.5143 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.2878, allocations: 48 / 0.5143 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.2879, allocations: 40.48 kB / 0.5143 GB, free: 10.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/0.2879, allocations: 0 / 0.5143 GB, free: 10.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001918/0.2881, allocations: 40.95 kB / 0.5144 GB, free: 10.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.2881, allocations: 51.41 kB / 0.5144 GB, free: 10.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.798e-05/0.2881, allocations: 91.7 kB / 0.5145 GB, free: 10.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.2882, allocations: 27.48 kB / 0.5145 GB, free: 10.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.2882, allocations: 92.08 kB / 0.5146 GB, free: 10.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.397e-06/0.2882, allocations: 6.016 kB / 0.5146 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.2882, allocations: 17.34 kB / 0.5146 GB, free: 9.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.583e-05/0.2883, allocations: 314.8 kB / 0.5149 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.2883, allocations: 1.781 kB / 0.5149 GB, free: 9.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/0.2883, allocations: 26.16 kB / 0.515 GB, free: 9.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.2884, allocations: 31.67 kB / 0.515 GB, free: 9.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2884, allocations: 1.75 kB / 0.515 GB, free: 9.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000108/0.2885, allocations: 50.16 kB / 0.515 GB, free: 9.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2885, allocations: 5.406 kB / 0.515 GB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2885, allocations: 0 / 0.515 GB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.2885, allocations: 1.781 kB / 0.515 GB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.2886, allocations: 4.219 kB / 0.5151 GB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2886, allocations: 2.188 kB / 0.5151 GB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.2886, allocations: 4.094 kB / 0.5151 GB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.2886, allocations: 1.906 kB / 0.5151 GB, free: 9.566 MB / 382.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 5.933e-05/0.2887, allocations: 123.9 kB / 0.5152 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.2887, allocations: 1.375 kB / 0.5152 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.2889, allocations: 41.5 kB / 0.5152 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.2889, allocations: 4.078 kB / 0.5152 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2889, allocations: 7.969 kB / 0.5152 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2889, allocations: 0 / 0.5152 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.289, allocations: 155.8 kB / 0.5154 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.289, allocations: 1.844 kB / 0.5154 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-06/0.289, allocations: 0 / 0.5154 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.289, allocations: 0 / 0.5154 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.289, allocations: 6.219 kB / 0.5154 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.289, allocations: 0 / 0.5154 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.289, allocations: 0 / 0.5154 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.236e-05/0.2891, allocations: 148.2 kB / 0.5155 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.2892, allocations: 77.11 kB / 0.5156 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.2892, allocations: 0 / 0.5156 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.346e-05/0.2893, allocations: 3.219 kB / 0.5156 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.2893, allocations: 0 / 0.5156 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.2893, allocations: 0 / 0.5156 GB, free: 8.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.159e-05/0.2893, allocations: 78.34 kB / 0.5157 GB, free: 8.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2893, allocations: 0 / 0.5157 GB, free: 8.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005107/0.2898, allocations: 41.86 kB / 0.5157 GB, free: 8.852 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.0005309/0.2904, allocations: 0.7137 MB / 0.5164 GB, free: 8.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.2905, allocations: 12.25 kB / 0.5164 GB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2905, allocations: 0 / 0.5164 GB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.2905, allocations: 40.59 kB / 0.5165 GB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.2908, allocations: 5.375 kB / 0.5165 GB, free: 8.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005457/0.2914, allocations: 125.7 kB / 0.5166 GB, free: 7.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.2915, allocations: 0.6741 MB / 0.5172 GB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.074e-05/0.2915, allocations: 1.375 kB / 0.5173 GB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.2916, allocations: 8.812 kB / 0.5173 GB, free: 7.254 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2916, allocations: 0 / 0.5173 GB, free: 7.254 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.3217, allocations: 1.85 MB / 0.5191 GB, free: 6.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.347, allocations: 13.27 kB / 0.5191 GB, free: 6.117 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.2267365949956] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'a', 'b'] 8.416800349004916 8.436465347 8.14556062 Calling exit ...