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.001934/0.001934, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002485/0.002485, allocations: 215.6 kB / 22.99 MB, free: 4.602 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.464/1.464, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2087/0.2087, allocations: 44.27 MB / 330.4 MB, free: 9.305 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.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.002403/0.002403, allocations: 68.52 kB / 467.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1116, allocations: 61.05 MB / 0.5161 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001781/0.1133, allocations: 0.4948 MB / 0.5166 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.1154, allocations: 1.345 MB / 0.5179 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.1155, allocations: 0 / 0.5179 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.1155, allocations: 11.94 kB / 0.518 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.624e-05/0.1155, allocations: 0 / 0.518 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000753/0.1163, allocations: 216.3 kB / 0.5182 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.29e-05/0.1163, allocations: 7.938 kB / 0.5182 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.1163, allocations: 3.938 kB / 0.5182 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.789e-05/0.1164, allocations: 7.984 kB / 0.5182 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.511e-05/0.1164, allocations: 7.984 kB / 0.5182 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1164, allocations: 0 / 0.5182 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004789/0.1169, allocations: 259.6 kB / 0.5184 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.1169, allocations: 0 / 0.5184 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.623e-05/0.1169, allocations: 4 kB / 0.5184 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.1172, allocations: 151.5 kB / 0.5186 GB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1172, allocations: 0 / 0.5186 GB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1172, allocations: 0 / 0.5186 GB, free: 4.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1172, allocations: 0 / 0.5186 GB, free: 4.672 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.0003774/0.1176, allocations: 258.3 kB / 0.5188 GB, free: 4.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1176, allocations: 16.02 kB / 0.5188 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.664e-05/0.1177, allocations: 34.69 kB / 0.5189 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.1177, allocations: 0.9375 kB / 0.5189 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.531e-05/0.1178, allocations: 106.5 kB / 0.519 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1178, allocations: 4.312 kB / 0.519 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.1178, allocations: 4.375 kB / 0.519 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1179, allocations: 67.52 kB / 0.519 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1179, allocations: 4 kB / 0.5191 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.118, allocations: 0 / 0.5191 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.118, allocations: 0 / 0.5191 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.56e-05/0.118, allocations: 8 kB / 0.5191 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.1184, allocations: 215.9 kB / 0.5193 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.1e-05/0.1184, allocations: 18.58 kB / 0.5193 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.1185, allocations: 4.859 kB / 0.5193 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.1185, allocations: 8 kB / 0.5193 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1185, allocations: 30.56 kB / 0.5193 GB, free: 3.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1185, allocations: 4.062 kB / 0.5193 GB, free: 3.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.1186, allocations: 33.64 kB / 0.5194 GB, free: 3.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.1187, allocations: 51.41 kB / 0.5194 GB, free: 3.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.1188, allocations: 101.8 kB / 0.5195 GB, free: 3.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1188, allocations: 25.7 kB / 0.5195 GB, free: 3.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.1189, allocations: 88.03 kB / 0.5196 GB, free: 3.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.514e-06/0.1189, allocations: 11.89 kB / 0.5196 GB, free: 3.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.1189, allocations: 13.97 kB / 0.5196 GB, free: 3.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1191, allocations: 326.8 kB / 0.52 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.1191, allocations: 0 / 0.52 GB, free: 3.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.98e-05/0.1191, allocations: 18.58 kB / 0.52 GB, free: 3.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.408e-05/0.1192, allocations: 30.52 kB / 0.52 GB, free: 3.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1192, allocations: 0 / 0.52 GB, free: 3.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.008e-05/0.1192, allocations: 49.62 kB / 0.52 GB, free: 2.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1192, allocations: 8 kB / 0.5201 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1193, allocations: 4.094 kB / 0.5201 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1193, allocations: 0 / 0.5201 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.749e-05/0.1193, allocations: 4 kB / 0.5201 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1193, allocations: 4 kB / 0.5201 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.1193, allocations: 0 / 0.5201 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1193, allocations: 0 / 0.5201 GB, free: 2.934 MB / 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 9.706e-05/0.1194, allocations: 117.8 kB / 0.5202 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.1195, allocations: 4.094 kB / 0.5202 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.1196, allocations: 52.78 kB / 0.5202 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1196, allocations: 0 / 0.5202 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1196, allocations: 3.984 kB / 0.5202 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1196, allocations: 4 kB / 0.5202 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.1197, allocations: 120.7 kB / 0.5204 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.1198, allocations: 4 kB / 0.5204 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.1198, allocations: 0 / 0.5204 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1198, allocations: 3.938 kB / 0.5204 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.1198, allocations: 0 / 0.5204 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1198, allocations: 0 / 0.5204 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1198, allocations: 4.031 kB / 0.5204 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.1199, allocations: 139.4 kB / 0.5205 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.1199, allocations: 8 kB / 0.5205 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.1199, allocations: 0 / 0.5205 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.1199, allocations: 0 / 0.5205 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-06/0.12, allocations: 0 / 0.5205 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.12, allocations: 4 kB / 0.5205 GB, free: 2.402 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.122e-05/0.12, allocations: 83.27 kB / 0.5206 GB, free: 2.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.12, allocations: 0 / 0.5206 GB, free: 2.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1203, allocations: 43.88 kB / 0.5206 GB, free: 2.277 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.0005966/0.1209, allocations: 0.7008 MB / 0.5213 GB, free: 1.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.783e-05/0.121, allocations: 19.92 kB / 0.5213 GB, free: 1.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.121, allocations: 0 / 0.5213 GB, free: 1.527 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/0.121, allocations: 29.7 kB / 0.5214 GB, free: 1.492 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.1212, allocations: 7.938 kB / 0.5214 GB, free: 1.484 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.1216, allocations: 126.4 kB / 0.5215 GB, free: 1.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.204e-05/0.1217, allocations: 55.36 kB / 0.5215 GB, free: 1.246 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.078e-05/0.1217, allocations: 4.281 kB / 0.5215 GB, free: 1.242 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.1217, allocations: 15.42 kB / 0.5216 GB, free: 1.227 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1217, allocations: 0 / 0.5216 GB, free: 1.227 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.1495, allocations: 2.356 MB / 0.5239 GB, free: 14.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.49, allocations: 15.19 kB / 0.5239 GB, free: 14.85 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.485491557046771] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'a', 'b'] 11.593690096400678 11.613893798 11.493050598 Calling exit ...