Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.00175/0.00175, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002061/0.002061, allocations: 211.2 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2164/0.2164, allocations: 44.9 MB / 355.1 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002062/0.002062, allocations: 67.89 kB / 499.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1155, allocations: 65.42 MB / 0.5517 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001855/0.1173, allocations: 0.5063 MB / 0.5522 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1193, allocations: 1.407 MB / 0.5536 GB, free: 8.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.1193, allocations: 0 / 0.5536 GB, free: 8.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.165e-05/0.1193, allocations: 0 / 0.5536 GB, free: 8.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.163e-05/0.1194, allocations: 3.938 kB / 0.5536 GB, free: 8.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007281/0.1201, allocations: 219.6 kB / 0.5538 GB, free: 8.016 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.634e-05/0.1201, allocations: 8 kB / 0.5538 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.1202, allocations: 0 / 0.5538 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.593e-05/0.1202, allocations: 8 kB / 0.5538 GB, free: 8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.501e-05/0.1202, allocations: 7.984 kB / 0.5538 GB, free: 7.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1202, allocations: 3.938 kB / 0.5538 GB, free: 7.988 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004741/0.1207, allocations: 275.6 kB / 0.5541 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.1207, allocations: 3.984 kB / 0.5541 GB, free: 7.715 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.1208, allocations: 7.938 kB / 0.5541 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.121, allocations: 135.9 kB / 0.5542 GB, free: 7.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.121, allocations: 0 / 0.5542 GB, free: 7.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.121, allocations: 4 kB / 0.5542 GB, free: 7.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.121, allocations: 3.984 kB / 0.5542 GB, free: 7.566 MB / 414.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.0004404/0.1214, allocations: 343.3 kB / 0.5546 GB, free: 7.184 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1215, allocations: 8.031 kB / 0.5546 GB, free: 7.176 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/0.1215, allocations: 34.75 kB / 0.5546 GB, free: 7.133 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.1215, allocations: 0.9375 kB / 0.5546 GB, free: 7.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.1217, allocations: 164.3 kB / 0.5548 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.1217, allocations: 384 / 0.5548 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.1217, allocations: 4.312 kB / 0.5548 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.454e-05/0.1218, allocations: 45.81 kB / 0.5548 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.1218, allocations: 0 / 0.5548 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.1218, allocations: 3.938 kB / 0.5548 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1218, allocations: 3.984 kB / 0.5548 GB, free: 6.871 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.057e-05/0.1218, allocations: 4 kB / 0.5548 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.122, allocations: 141.7 kB / 0.555 GB, free: 6.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.514e-05/0.122, allocations: 26.55 kB / 0.555 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.1221, allocations: 12.84 kB / 0.555 GB, free: 6.629 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.1221, allocations: 0 / 0.555 GB, free: 6.629 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.1221, allocations: 38.56 kB / 0.555 GB, free: 6.582 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1221, allocations: 0 / 0.555 GB, free: 6.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001358/0.1222, allocations: 29.7 kB / 0.5551 GB, free: 6.547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.1223, allocations: 55.41 kB / 0.5551 GB, free: 6.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.616e-05/0.1223, allocations: 97.97 kB / 0.5552 GB, free: 6.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1223, allocations: 33.77 kB / 0.5552 GB, free: 6.336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.1224, allocations: 84.14 kB / 0.5553 GB, free: 6.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.1224, allocations: 3.953 kB / 0.5553 GB, free: 6.246 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.1224, allocations: 9.719 kB / 0.5553 GB, free: 6.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1226, allocations: 318.8 kB / 0.5556 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-06/0.1226, allocations: 0 / 0.5556 GB, free: 5.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-06/0.1226, allocations: 0 / 0.5556 GB, free: 5.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.787e-05/0.1226, allocations: 12.92 kB / 0.5557 GB, free: 5.895 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1226, allocations: 0 / 0.5557 GB, free: 5.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.411e-05/0.1227, allocations: 41.62 kB / 0.5557 GB, free: 5.848 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1227, allocations: 4 kB / 0.5557 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1227, allocations: 0 / 0.5557 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1227, allocations: 0 / 0.5557 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.44e-05/0.1228, allocations: 7.938 kB / 0.5557 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.1228, allocations: 0 / 0.5557 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.243e-05/0.1228, allocations: 0 / 0.5557 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1228, allocations: 4 kB / 0.5557 GB, free: 5.832 MB / 414.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.539e-05/0.1229, allocations: 113.9 kB / 0.5558 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.1229, allocations: 7.938 kB / 0.5558 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.123, allocations: 40.81 kB / 0.5559 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.123, allocations: 0 / 0.5559 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.123, allocations: 0 / 0.5559 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.123, allocations: 0 / 0.5559 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.1231, allocations: 157.7 kB / 0.556 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.1231, allocations: 3.938 kB / 0.556 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-06/0.1231, allocations: 3.938 kB / 0.556 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1231, allocations: 0 / 0.556 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1231, allocations: 7.938 kB / 0.556 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1231, allocations: 0 / 0.556 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1231, allocations: 3.938 kB / 0.556 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.517e-05/0.1232, allocations: 57.12 kB / 0.5561 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.1233, allocations: 85.08 kB / 0.5562 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.1233, allocations: 4 kB / 0.5562 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-05/0.1234, allocations: 4 kB / 0.5562 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.1234, allocations: 3.984 kB / 0.5562 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.1234, allocations: 0 / 0.5562 GB, free: 5.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.1234, allocations: 79.28 kB / 0.5563 GB, free: 5.172 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1234, allocations: 0 / 0.5563 GB, free: 5.172 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.1237, allocations: 35.94 kB / 0.5563 GB, free: 5.137 MB / 414.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.000557/0.1243, allocations: 0.6397 MB / 0.5569 GB, free: 4.465 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.268e-05/0.1243, allocations: 7.984 kB / 0.5569 GB, free: 4.457 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1243, allocations: 0 / 0.5569 GB, free: 4.457 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.433e-05/0.1244, allocations: 29.7 kB / 0.557 GB, free: 4.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.1245, allocations: 2.219 kB / 0.557 GB, free: 4.422 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.1249, allocations: 134.2 kB / 0.5571 GB, free: 4.254 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1252, allocations: 0.669 MB / 0.5577 GB, free: 3.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.68e-05/0.1252, allocations: 4 kB / 0.5577 GB, free: 3.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.1252, allocations: 7.438 kB / 0.5577 GB, free: 3.547 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1252, allocations: 3.938 kB / 0.5577 GB, free: 3.543 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.1481, allocations: 1.857 MB / 0.5596 GB, free: 1.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.083, allocations: 5.094 kB / 0.5596 GB, free: 1.766 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.059794796165079] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.150259946007282 8.178960209 8.052975807 Calling exit ...