Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, allocations: 118.6 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.00151, allocations: 206.6 kB / 21.45 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 230.5 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2337/0.2337, allocations: 46.93 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 83.86 kB / 0.4916 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1267, allocations: 66.04 MB / 0.5561 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001618/0.1283, allocations: 0.4983 MB / 0.5566 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.1301, allocations: 1.411 MB / 0.558 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.1301, allocations: 0 / 0.558 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.1302, allocations: 3.938 kB / 0.558 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.07e-05/0.1302, allocations: 4 kB / 0.558 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006612/0.1308, allocations: 218.2 kB / 0.5582 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.98e-05/0.1309, allocations: 15.92 kB / 0.5582 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.1309, allocations: 4 kB / 0.5582 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.276e-05/0.1309, allocations: 0 / 0.5582 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.341e-05/0.131, allocations: 4 kB / 0.5582 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.131, allocations: 3.984 kB / 0.5582 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004316/0.1314, allocations: 275.6 kB / 0.5585 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.1314, allocations: 7.938 kB / 0.5585 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.864e-05/0.1315, allocations: 4 kB / 0.5585 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.1317, allocations: 143.6 kB / 0.5586 GB, free: 2.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1317, allocations: 0 / 0.5586 GB, free: 2.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1317, allocations: 0 / 0.5586 GB, free: 2.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1317, allocations: 0 / 0.5586 GB, free: 2.98 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003747/0.1321, allocations: 335.4 kB / 0.559 GB, free: 2.605 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1321, allocations: 15.97 kB / 0.559 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.1321, allocations: 30.75 kB / 0.559 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.1322, allocations: 4.891 kB / 0.559 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1323, allocations: 168.3 kB / 0.5592 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.1323, allocations: 4.375 kB / 0.5592 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.1323, allocations: 4.375 kB / 0.5592 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.1324, allocations: 41.81 kB / 0.5592 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1324, allocations: 0 / 0.5592 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1324, allocations: 0 / 0.5592 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.1324, allocations: 0 / 0.5592 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.212e-05/0.1325, allocations: 7.984 kB / 0.5592 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.1328, allocations: 248.8 kB / 0.5595 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.385e-05/0.1328, allocations: 26.61 kB / 0.5595 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.1329, allocations: 4.859 kB / 0.5595 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.1329, allocations: 3.938 kB / 0.5595 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1329, allocations: 34.62 kB / 0.5595 GB, free: 1.898 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1329, allocations: 0 / 0.5595 GB, free: 1.898 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001358/0.133, allocations: 37.64 kB / 0.5596 GB, free: 1.855 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.1331, allocations: 51.53 kB / 0.5596 GB, free: 1.793 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.1331, allocations: 105.8 kB / 0.5597 GB, free: 1.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1332, allocations: 25.7 kB / 0.5597 GB, free: 1.648 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.1332, allocations: 88.09 kB / 0.5598 GB, free: 1.559 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.1332, allocations: 7.953 kB / 0.5598 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.1332, allocations: 9.719 kB / 0.5598 GB, free: 1.535 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1334, allocations: 318.8 kB / 0.5602 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.1334, allocations: 7.984 kB / 0.5602 GB, free: 1.207 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/0.1334, allocations: 22.7 kB / 0.5602 GB, free: 1.176 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.955e-05/0.1335, allocations: 26.52 kB / 0.5602 GB, free: 1.141 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1335, allocations: 4 kB / 0.5602 GB, free: 1.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.248e-05/0.1335, allocations: 45.62 kB / 0.5603 GB, free: 1.086 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1336, allocations: 8.094 kB / 0.5603 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1336, allocations: 0 / 0.5603 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1336, allocations: 4 kB / 0.5603 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.461e-05/0.1336, allocations: 4 kB / 0.5603 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1336, allocations: 0 / 0.5603 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.585e-05/0.1336, allocations: 0 / 0.5603 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1336, allocations: 8 kB / 0.5603 GB, free: 1.062 MB / 414.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 7.602e-05/0.1337, allocations: 113.8 kB / 0.5604 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.1337, allocations: 4 kB / 0.5604 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.1338, allocations: 52.7 kB / 0.5604 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1338, allocations: 0 / 0.5604 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1338, allocations: 0 / 0.5604 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1339, allocations: 0 / 0.5604 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.134, allocations: 149.6 kB / 0.5606 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.134, allocations: 4 kB / 0.5606 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.134, allocations: 0 / 0.5606 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.134, allocations: 0 / 0.5606 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.134, allocations: 4.031 kB / 0.5606 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.134, allocations: 0 / 0.5606 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.134, allocations: 0 / 0.5606 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.1341, allocations: 139.4 kB / 0.5607 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.1342, allocations: 77.11 kB / 0.5608 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.1342, allocations: 4.094 kB / 0.5608 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/0.1343, allocations: 4 kB / 0.5608 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.1343, allocations: 12 kB / 0.5608 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1343, allocations: 0 / 0.5608 GB, free: 424 kB / 414.1 MB Notification: Performance of sorting global known variables: time 3.753e-05/0.1343, allocations: 83.22 kB / 0.5609 GB, free: 340 kB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1343, allocations: 0 / 0.5609 GB, free: 340 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.000276/0.1346, allocations: 39.94 kB / 0.5609 GB, free: 300 kB / 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.0005757/0.1352, allocations: 0.7085 MB / 0.5616 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.597e-05/0.1352, allocations: 15.92 kB / 0.5616 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1352, allocations: 0 / 0.5616 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.766e-05/0.1353, allocations: 29.7 kB / 0.5617 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.1355, allocations: 4 kB / 0.5617 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003664/0.1358, allocations: 118.6 kB / 0.5618 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.1362, allocations: 0.6692 MB / 0.5624 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.176e-05/0.1362, allocations: 8 kB / 0.5624 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.1362, allocations: 19.36 kB / 0.5625 GB, free: 14.62 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1362, allocations: 0 / 0.5625 GB, free: 14.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.1612, allocations: 1.846 MB / 0.5643 GB, free: 12.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.969/8.13, allocations: 16.75 kB / 0.5643 GB, free: 12.86 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.10001544514671] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'a', 'b'] 8.199578486848623 8.226421388 8.090953693 Calling exit ...