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.00141/0.00141, allocations: 113.8 kB / 19.69 MB, free: 2.047 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.001448/0.001448, allocations: 224.3 kB / 23.01 MB, free: 4.938 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.351/1.351, allocations: 207.6 MB / 233.8 MB, free: 9.977 MB / 190.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.2123/0.2123, allocations: 44.23 MB / 330.3 MB, free: 9.523 MB / 270.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.002213/0.002213, allocations: 82.52 kB / 467.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1095, allocations: 61.03 MB / 0.5161 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0016/0.1111, allocations: 0.5104 MB / 0.5166 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.113, allocations: 1.403 MB / 0.518 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.113, allocations: 0 / 0.518 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.113, allocations: 0 / 0.518 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.299e-05/0.113, allocations: 0 / 0.518 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.1137, allocations: 228.2 kB / 0.5182 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.742e-05/0.1137, allocations: 8 kB / 0.5182 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.1138, allocations: 0 / 0.5182 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.857e-05/0.1138, allocations: 4 kB / 0.5182 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.1138, allocations: 7.969 kB / 0.5182 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1139, allocations: 0 / 0.5182 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004497/0.1143, allocations: 283.5 kB / 0.5185 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.1143, allocations: 0 / 0.5185 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.1143, allocations: 8 kB / 0.5185 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.1146, allocations: 139.6 kB / 0.5186 GB, free: 4.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1146, allocations: 11.98 kB / 0.5187 GB, free: 4.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1146, allocations: 0 / 0.5187 GB, free: 4.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.1146, allocations: 0 / 0.5187 GB, free: 4.738 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.000359/0.1149, allocations: 258.3 kB / 0.5189 GB, free: 4.457 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.115, allocations: 8.031 kB / 0.5189 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.115, allocations: 34.69 kB / 0.5189 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.26e-05/0.115, allocations: 4.875 kB / 0.5189 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1151, allocations: 106.5 kB / 0.5191 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1151, allocations: 384 / 0.5191 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.1151, allocations: 4.375 kB / 0.5191 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.844e-05/0.1152, allocations: 33.83 kB / 0.5191 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1152, allocations: 0 / 0.5191 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-06/0.1152, allocations: 0 / 0.5191 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.1153, allocations: 3.984 kB / 0.5191 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.903e-05/0.1153, allocations: 11.94 kB / 0.5191 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.1154, allocations: 112.8 kB / 0.5192 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.892e-05/0.1155, allocations: 22.59 kB / 0.5192 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.1155, allocations: 12.86 kB / 0.5192 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.1155, allocations: 0 / 0.5192 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.1155, allocations: 42.55 kB / 0.5193 GB, free: 3.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1155, allocations: 0 / 0.5193 GB, free: 3.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000124/0.1157, allocations: 33.64 kB / 0.5193 GB, free: 3.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.1157, allocations: 55.41 kB / 0.5194 GB, free: 3.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.982e-05/0.1158, allocations: 97.98 kB / 0.5195 GB, free: 3.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1158, allocations: 25.7 kB / 0.5195 GB, free: 3.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.1158, allocations: 88.12 kB / 0.5196 GB, free: 3.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.1158, allocations: 3.953 kB / 0.5196 GB, free: 3.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.1159, allocations: 9.719 kB / 0.5196 GB, free: 3.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.116, allocations: 310.8 kB / 0.5199 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.116, allocations: 4 kB / 0.5199 GB, free: 3.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-06/0.116, allocations: 0 / 0.5199 GB, free: 3.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.1161, allocations: 17.05 kB / 0.5199 GB, free: 3.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1161, allocations: 3.938 kB / 0.5199 GB, free: 3.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.852e-05/0.1161, allocations: 41.62 kB / 0.5199 GB, free: 3.227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1161, allocations: 4 kB / 0.5199 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.1161, allocations: 0 / 0.5199 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1162, allocations: 0 / 0.5199 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.753e-05/0.1162, allocations: 4 kB / 0.52 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1162, allocations: 0 / 0.52 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.243e-05/0.1162, allocations: 0 / 0.52 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.1162, allocations: 0 / 0.52 GB, free: 3.219 MB / 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.466e-05/0.1163, allocations: 113.9 kB / 0.5201 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.1163, allocations: 11.88 kB / 0.5201 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.1164, allocations: 48.78 kB / 0.5201 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1164, allocations: 0 / 0.5201 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1164, allocations: 0 / 0.5201 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1164, allocations: 4.031 kB / 0.5201 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.368e-05/0.1165, allocations: 124.7 kB / 0.5202 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.1165, allocations: 4 kB / 0.5202 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-06/0.1165, allocations: 3.938 kB / 0.5202 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1165, allocations: 0 / 0.5202 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1166, allocations: 4 kB / 0.5203 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1166, allocations: 0 / 0.5203 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1166, allocations: 0 / 0.5203 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.169e-05/0.1166, allocations: 61.12 kB / 0.5203 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.1166, allocations: 7.891 kB / 0.5203 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.1167, allocations: 0 / 0.5203 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.416e-05/0.1167, allocations: 4 kB / 0.5203 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.1167, allocations: 7.938 kB / 0.5203 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.1167, allocations: 0 / 0.5203 GB, free: 2.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.395e-05/0.1168, allocations: 83.27 kB / 0.5204 GB, free: 2.672 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1168, allocations: 0 / 0.5204 GB, free: 2.672 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.117, allocations: 39.88 kB / 0.5204 GB, free: 2.633 MB / 398.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.0005274/0.1175, allocations: 0.6398 MB / 0.5211 GB, free: 1.961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.656e-05/0.1176, allocations: 8 kB / 0.5211 GB, free: 1.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.1176, allocations: 3.938 kB / 0.5211 GB, free: 1.949 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.438e-05/0.1177, allocations: 33.69 kB / 0.5211 GB, free: 1.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.1178, allocations: 8.094 kB / 0.5211 GB, free: 1.902 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.1181, allocations: 126.5 kB / 0.5212 GB, free: 1.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1185, allocations: 0.669 MB / 0.5219 GB, free: 1.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.411e-05/0.1185, allocations: 0 / 0.5219 GB, free: 1.043 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.1185, allocations: 11.44 kB / 0.5219 GB, free: 1.031 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1185, allocations: 0 / 0.5219 GB, free: 1.031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.1452, allocations: 1.943 MB / 0.5238 GB, free: 15.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.68, allocations: 15.86 kB / 0.5238 GB, free: 15.07 MB / 414.1 MB " [Timeout remaining time 649] (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: 13.495108647999587] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 10.782477717999427 10.811732944 10.691939563 Calling exit ...