Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001812/0.001812, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.001617/0.001617, allocations: 219 kB / 23 MB, free: 5.609 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.367/1.367, allocations: 230.2 MB / 256.2 MB, free: 8.684 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 46.92 MB / 359.4 MB, free: 4.887 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 79.86 kB / 0.4941 GB, free: 8.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3067, allocations: 66.01 MB / 0.5586 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001773/0.3085, allocations: 495.4 kB / 0.5591 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.3106, allocations: 1.413 MB / 0.5605 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.3106, allocations: 0 / 0.5605 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.3106, allocations: 0 / 0.5605 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.442e-05/0.3107, allocations: 3.938 kB / 0.5605 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007629/0.3114, allocations: 219 kB / 0.5607 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.141e-05/0.3115, allocations: 4 kB / 0.5607 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.3115, allocations: 11.98 kB / 0.5607 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.791e-05/0.3115, allocations: 3.984 kB / 0.5607 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.622e-05/0.3116, allocations: 4 kB / 0.5607 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.3116, allocations: 0 / 0.5607 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004977/0.3121, allocations: 283.6 kB / 0.561 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.3121, allocations: 11.92 kB / 0.561 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.3121, allocations: 0 / 0.561 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.3124, allocations: 145.5 kB / 0.5611 GB, free: 2.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3124, allocations: 3.938 kB / 0.5611 GB, free: 2.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3124, allocations: 0 / 0.5611 GB, free: 2.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3124, allocations: 0 / 0.5611 GB, free: 2.539 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.000436/0.3128, allocations: 339.3 kB / 0.5614 GB, free: 2.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3129, allocations: 12.03 kB / 0.5614 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.3129, allocations: 34.75 kB / 0.5615 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.3129, allocations: 0.9375 kB / 0.5615 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.3131, allocations: 168.3 kB / 0.5616 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.3131, allocations: 4.312 kB / 0.5616 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.3131, allocations: 4.312 kB / 0.5617 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.129e-05/0.3132, allocations: 33.83 kB / 0.5617 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3132, allocations: 0 / 0.5617 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3132, allocations: 4 kB / 0.5617 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.3132, allocations: 4 kB / 0.5617 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.922e-05/0.3132, allocations: 4 kB / 0.5617 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.3134, allocations: 149.7 kB / 0.5618 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.416e-05/0.3134, allocations: 18.52 kB / 0.5619 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.3134, allocations: 8.922 kB / 0.5619 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.3135, allocations: 4 kB / 0.5619 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.3135, allocations: 34.5 kB / 0.5619 GB, free: 1.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3135, allocations: 4 kB / 0.5619 GB, free: 1.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001292/0.3136, allocations: 37.69 kB / 0.5619 GB, free: 1.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.3137, allocations: 51.41 kB / 0.562 GB, free: 1.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.3137, allocations: 93.86 kB / 0.5621 GB, free: 1.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.3138, allocations: 29.7 kB / 0.5621 GB, free: 1.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.3138, allocations: 80.14 kB / 0.5622 GB, free: 1.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.3138, allocations: 3.953 kB / 0.5622 GB, free: 1.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.3139, allocations: 13.95 kB / 0.5622 GB, free: 1.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.314, allocations: 322.8 kB / 0.5625 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.314, allocations: 0 / 0.5625 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.314, allocations: 0 / 0.5625 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.995e-05/0.314, allocations: 12.86 kB / 0.5625 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.314, allocations: 0 / 0.5625 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.753e-05/0.3141, allocations: 37.64 kB / 0.5626 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3141, allocations: 4 kB / 0.5626 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.3141, allocations: 4.078 kB / 0.5626 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3141, allocations: 4 kB / 0.5626 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/0.3142, allocations: 4 kB / 0.5626 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3142, allocations: 0 / 0.5626 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.247e-05/0.3142, allocations: 3.938 kB / 0.5626 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3142, allocations: 0 / 0.5626 GB, free: 0.8086 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.667e-05/0.3143, allocations: 109.8 kB / 0.5627 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.3143, allocations: 7.875 kB / 0.5627 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.3144, allocations: 52.81 kB / 0.5627 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3144, allocations: 0 / 0.5627 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3144, allocations: 3.938 kB / 0.5627 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3144, allocations: 3.984 kB / 0.5627 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.3145, allocations: 149.7 kB / 0.5629 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3145, allocations: 0 / 0.5629 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-06/0.3145, allocations: 3.938 kB / 0.5629 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3146, allocations: 0 / 0.5629 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.3146, allocations: 8 kB / 0.5629 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3146, allocations: 4.031 kB / 0.5629 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3146, allocations: 0 / 0.5629 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.498e-05/0.3146, allocations: 61.06 kB / 0.563 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.3147, allocations: 81.05 kB / 0.563 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.3147, allocations: 0 / 0.563 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.3148, allocations: 4 kB / 0.563 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.3148, allocations: 0 / 0.563 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3148, allocations: 4.031 kB / 0.563 GB, free: 232 kB / 398.1 MB Notification: Performance of sorting global known variables: time 4.369e-05/0.3148, allocations: 83.28 kB / 0.5631 GB, free: 148 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3148, allocations: 0 / 0.5631 GB, free: 148 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.3151, allocations: 43.92 kB / 0.5632 GB, free: 104 kB / 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.0006081/0.3157, allocations: 0.6358 MB / 0.5638 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.145e-05/0.3158, allocations: 8 kB / 0.5638 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3158, allocations: 0 / 0.5638 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.894e-05/0.3158, allocations: 29.7 kB / 0.5638 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.316, allocations: 6.672 kB / 0.5638 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.3163, allocations: 134.6 kB / 0.564 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.3166, allocations: 0.669 MB / 0.5646 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.863e-05/0.3166, allocations: 8.125 kB / 0.5646 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.3167, allocations: 7.438 kB / 0.5646 GB, free: 14.5 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3167, allocations: 0 / 0.5646 GB, free: 14.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.3384, allocations: 1.86 MB / 0.5664 GB, free: 12.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.096, allocations: 2.5 kB / 0.5664 GB, free: 12.7 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.671309705998283] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.161420457006898 8.18255783 7.866134395 Calling exit ...