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.001713/0.001713, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.001492/0.001492, allocations: 226.6 kB / 23.01 MB, free: 5.039 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.356/1.356, 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.2124/0.2124, allocations: 44.25 MB / 330.3 MB, free: 9.496 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.002154/0.002154, allocations: 67.91 kB / 467.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1168, allocations: 61.03 MB / 0.5161 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001644/0.1184, allocations: 0.5095 MB / 0.5166 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.1203, allocations: 1.399 MB / 0.518 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.1204, allocations: 4 kB / 0.518 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.1204, allocations: 3.938 kB / 0.518 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.563e-05/0.1204, allocations: 4 kB / 0.518 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006656/0.1211, allocations: 220.2 kB / 0.5182 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.897e-05/0.1211, allocations: 15.92 kB / 0.5182 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.1212, allocations: 4 kB / 0.5182 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.485e-05/0.1212, allocations: 0 / 0.5182 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.552e-05/0.1212, allocations: 4 kB / 0.5182 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1212, allocations: 0 / 0.5182 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004517/0.1217, allocations: 271.6 kB / 0.5185 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.1217, allocations: 3.938 kB / 0.5185 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.1217, allocations: 19.97 kB / 0.5185 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1219, allocations: 139.6 kB / 0.5187 GB, free: 4.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1219, allocations: 0 / 0.5187 GB, free: 4.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1219, allocations: 0 / 0.5187 GB, free: 4.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1219, allocations: 0 / 0.5187 GB, free: 4.719 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.000347/0.1223, allocations: 258.3 kB / 0.5189 GB, free: 4.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1223, allocations: 12.03 kB / 0.5189 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.1224, allocations: 34.69 kB / 0.5189 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.1224, allocations: 0.9375 kB / 0.5189 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.1225, allocations: 110.5 kB / 0.519 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1225, allocations: 8.312 kB / 0.5191 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.1225, allocations: 4.375 kB / 0.5191 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.1226, allocations: 33.83 kB / 0.5191 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1226, allocations: 4 kB / 0.5191 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1226, allocations: 0 / 0.5191 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1226, allocations: 0 / 0.5191 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.355e-05/0.1227, allocations: 11.98 kB / 0.5191 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.123, allocations: 215.9 kB / 0.5193 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.655e-05/0.1231, allocations: 18.58 kB / 0.5193 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.1231, allocations: 16.95 kB / 0.5193 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.1231, allocations: 0 / 0.5193 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.1231, allocations: 30.56 kB / 0.5194 GB, free: 3.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.1231, allocations: 0 / 0.5194 GB, free: 3.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001436/0.1233, allocations: 37.64 kB / 0.5194 GB, free: 3.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.1233, allocations: 51.41 kB / 0.5195 GB, free: 3.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.1234, allocations: 106 kB / 0.5196 GB, free: 3.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1234, allocations: 25.7 kB / 0.5196 GB, free: 3.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.1235, allocations: 84.09 kB / 0.5197 GB, free: 3.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.738e-06/0.1235, allocations: 11.83 kB / 0.5197 GB, free: 3.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.1235, allocations: 17.72 kB / 0.5197 GB, free: 3.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1237, allocations: 314.8 kB / 0.52 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.1237, allocations: 4 kB / 0.52 GB, free: 3.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.14e-05/0.1237, allocations: 26.69 kB / 0.52 GB, free: 3.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.119e-05/0.1238, allocations: 26.52 kB / 0.5201 GB, free: 3.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1238, allocations: 0 / 0.5201 GB, free: 3.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.788e-05/0.1238, allocations: 49.72 kB / 0.5201 GB, free: 3.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1239, allocations: 8 kB / 0.5201 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1239, allocations: 4.094 kB / 0.5201 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1239, allocations: 3.984 kB / 0.5201 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.617e-05/0.1239, allocations: 4 kB / 0.5201 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1239, allocations: 4 kB / 0.5201 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.684e-05/0.1239, allocations: 0 / 0.5201 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.124, allocations: 0 / 0.5201 GB, free: 3.004 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 8.505e-05/0.124, allocations: 113.8 kB / 0.5202 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.1241, allocations: 3.984 kB / 0.5202 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.1242, allocations: 48.8 kB / 0.5203 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1242, allocations: 3.938 kB / 0.5203 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1242, allocations: 0 / 0.5203 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.1242, allocations: 8 kB / 0.5203 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.1243, allocations: 120.7 kB / 0.5204 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.1243, allocations: 0 / 0.5204 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1243, allocations: 4 kB / 0.5204 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1243, allocations: 0 / 0.5204 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.1243, allocations: 0 / 0.5204 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1243, allocations: 4.031 kB / 0.5204 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1243, allocations: 0 / 0.5204 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.1245, allocations: 143.4 kB / 0.5206 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.1245, allocations: 4 kB / 0.5206 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.1245, allocations: 4 kB / 0.5206 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.463e-05/0.1245, allocations: 0 / 0.5206 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.1245, allocations: 0 / 0.5206 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1245, allocations: 4.031 kB / 0.5206 GB, free: 2.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.375e-05/0.1246, allocations: 87.27 kB / 0.5206 GB, free: 2.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1246, allocations: 0 / 0.5206 GB, free: 2.391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.1249, allocations: 35.94 kB / 0.5207 GB, free: 2.355 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.0005636/0.1254, allocations: 0.7008 MB / 0.5214 GB, free: 1.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.132e-05/0.1255, allocations: 15.94 kB / 0.5214 GB, free: 1.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1255, allocations: 0 / 0.5214 GB, free: 1.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.494e-05/0.1256, allocations: 33.62 kB / 0.5214 GB, free: 1.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.1258, allocations: 4 kB / 0.5214 GB, free: 1.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.1262, allocations: 126.4 kB / 0.5215 GB, free: 1.402 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.1265, allocations: 0.6729 MB / 0.5222 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.069e-05/0.1265, allocations: 4.25 kB / 0.5222 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.1265, allocations: 11.44 kB / 0.5222 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.1265, allocations: 0 / 0.5222 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.1529, allocations: 1.954 MB / 0.5241 GB, free: 14.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.84, allocations: 7.969 kB / 0.5241 GB, free: 14.72 MB / 414.1 MB " [Timeout remaining time 649] (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: 13.602676743998018] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'a', 'b'] 10.939153286002693 10.953455187 10.828669735 Calling exit ...