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.00159/0.00159, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00209/0.00209, allocations: 219.3 kB / 22.99 MB, free: 4.977 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.43/1.43, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.221/0.221, allocations: 44.27 MB / 330.4 MB, free: 9.293 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.002527/0.002527, allocations: 71.89 kB / 467.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1161, allocations: 61.04 MB / 0.5161 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.002286/0.1184, allocations: 0.5025 MB / 0.5166 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.1205, allocations: 1.341 MB / 0.5179 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.548e-05/0.1205, allocations: 0 / 0.5179 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.904e-05/0.1205, allocations: 7.938 kB / 0.5179 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.513e-05/0.1206, allocations: 4 kB / 0.5179 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007583/0.1213, allocations: 212.3 kB / 0.5182 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.194e-05/0.1214, allocations: 11.94 kB / 0.5182 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.742e-05/0.1214, allocations: 7.984 kB / 0.5182 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.865e-05/0.1215, allocations: 3.938 kB / 0.5182 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.224e-05/0.1215, allocations: 4 kB / 0.5182 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1215, allocations: 0 / 0.5182 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005397/0.1221, allocations: 259.6 kB / 0.5184 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.1221, allocations: 0 / 0.5184 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.1221, allocations: 8 kB / 0.5184 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.1224, allocations: 151.5 kB / 0.5186 GB, free: 4.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1224, allocations: 0 / 0.5186 GB, free: 4.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1224, allocations: 0 / 0.5186 GB, free: 4.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1224, allocations: 0 / 0.5186 GB, free: 4.668 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.0004034/0.1228, allocations: 254.3 kB / 0.5188 GB, free: 4.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.1228, allocations: 12.03 kB / 0.5188 GB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.507e-05/0.1229, allocations: 38.69 kB / 0.5189 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.1229, allocations: 0.9375 kB / 0.5189 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.123, allocations: 102.5 kB / 0.519 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.123, allocations: 8.375 kB / 0.519 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.123, allocations: 4.375 kB / 0.519 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.1232, allocations: 63.52 kB / 0.519 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.1232, allocations: 0 / 0.519 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1232, allocations: 0 / 0.519 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1232, allocations: 3.984 kB / 0.519 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.01e-05/0.1232, allocations: 0 / 0.519 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.1234, allocations: 120.8 kB / 0.5192 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.902e-05/0.1234, allocations: 22.55 kB / 0.5192 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.582e-05/0.1234, allocations: 8.844 kB / 0.5192 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-06/0.1234, allocations: 0 / 0.5192 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.1235, allocations: 46.5 kB / 0.5192 GB, free: 3.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1235, allocations: 0 / 0.5192 GB, free: 3.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001517/0.1236, allocations: 33.7 kB / 0.5193 GB, free: 3.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1237, allocations: 59.34 kB / 0.5193 GB, free: 3.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.693e-05/0.1237, allocations: 93.84 kB / 0.5194 GB, free: 3.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1238, allocations: 25.7 kB / 0.5194 GB, free: 3.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.1238, allocations: 84.14 kB / 0.5195 GB, free: 3.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1238, allocations: 7.953 kB / 0.5195 GB, free: 3.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.1239, allocations: 9.719 kB / 0.5195 GB, free: 3.508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.124, allocations: 315.1 kB / 0.5198 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.124, allocations: 4 kB / 0.5198 GB, free: 3.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-06/0.124, allocations: 0 / 0.5198 GB, free: 3.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.495e-05/0.124, allocations: 12.8 kB / 0.5198 GB, free: 3.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.124, allocations: 0 / 0.5198 GB, free: 3.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.757e-05/0.1241, allocations: 49.56 kB / 0.5199 GB, free: 3.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1241, allocations: 4 kB / 0.5199 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1241, allocations: 0 / 0.5199 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1241, allocations: 4 kB / 0.5199 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.437e-05/0.1242, allocations: 0 / 0.5199 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1242, allocations: 4.094 kB / 0.5199 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.229e-05/0.1242, allocations: 0 / 0.5199 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1242, allocations: 4 kB / 0.5199 GB, free: 3.102 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.348e-05/0.1243, allocations: 105.8 kB / 0.52 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.1243, allocations: 3.938 kB / 0.52 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.1244, allocations: 44.84 kB / 0.5201 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1244, allocations: 0 / 0.5201 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1244, allocations: 8.031 kB / 0.5201 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1244, allocations: 0 / 0.5201 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.703e-05/0.1245, allocations: 116.8 kB / 0.5202 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.1245, allocations: 4 kB / 0.5202 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-06/0.1245, allocations: 3.938 kB / 0.5202 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1245, allocations: 3.938 kB / 0.5202 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-06/0.1245, allocations: 0 / 0.5202 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1245, allocations: 4 kB / 0.5202 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1245, allocations: 0 / 0.5202 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.858e-05/0.1246, allocations: 65.12 kB / 0.5203 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.1246, allocations: 11.92 kB / 0.5203 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.1247, allocations: 0 / 0.5203 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.406e-05/0.1247, allocations: 4 kB / 0.5203 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.1247, allocations: 0 / 0.5203 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.1247, allocations: 0 / 0.5203 GB, free: 2.656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.392e-05/0.1248, allocations: 83.27 kB / 0.5203 GB, free: 2.574 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1248, allocations: 3.938 kB / 0.5204 GB, free: 2.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.125, allocations: 43.88 kB / 0.5204 GB, free: 2.527 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.0005653/0.1256, allocations: 0.6437 MB / 0.521 GB, free: 1.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.845e-05/0.1257, allocations: 4 kB / 0.521 GB, free: 1.848 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1257, allocations: 0 / 0.521 GB, free: 1.848 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.684e-05/0.1257, allocations: 33.64 kB / 0.5211 GB, free: 1.809 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.1259, allocations: 11.92 kB / 0.5211 GB, free: 1.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.1262, allocations: 126.4 kB / 0.5212 GB, free: 1.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.545e-05/0.1263, allocations: 55.36 kB / 0.5212 GB, free: 1.559 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.473e-05/0.1263, allocations: 0 / 0.5212 GB, free: 1.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.1263, allocations: 15.56 kB / 0.5213 GB, free: 1.543 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1263, allocations: 0 / 0.5213 GB, free: 1.543 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.153, allocations: 2.357 MB / 0.5236 GB, free: 15.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.37, allocations: 20.38 kB / 0.5236 GB, free: 15.16 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: 14.459927339106798] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 11.48157286690548 11.500813234 11.374852738 Calling exit ...