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.001753/0.001753, allocations: 110.5 kB / 21.1 MB, free: 0.7695 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.001444/0.001444, allocations: 205 kB / 24.38 MB, free: 4.188 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.401/1.401, allocations: 230.2 MB / 257.7 MB, free: 8.293 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.2283/0.2283, allocations: 46.89 MB / 361 MB, free: 4.5 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.002298/0.002298, allocations: 76.05 kB / 0.4961 GB, free: 8.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2927, allocations: 66.03 MB / 0.5606 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001717/0.2944, allocations: 0.5071 MB / 0.5611 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.2964, allocations: 1.405 MB / 0.5625 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.263e-05/0.2964, allocations: 0 / 0.5625 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.2964, allocations: 3.938 kB / 0.5625 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.561e-05/0.2964, allocations: 4 kB / 0.5625 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006458/0.2971, allocations: 214.9 kB / 0.5627 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.772e-05/0.2971, allocations: 11.92 kB / 0.5627 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.2972, allocations: 0 / 0.5627 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.9e-05/0.2972, allocations: 8 kB / 0.5627 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.707e-05/0.2972, allocations: 3.984 kB / 0.5627 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.2973, allocations: 0 / 0.5627 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004472/0.2977, allocations: 279.6 kB / 0.563 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.2977, allocations: 0 / 0.563 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.728e-05/0.2977, allocations: 3.938 kB / 0.563 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.2979, allocations: 145.8 kB / 0.5631 GB, free: 2.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.298, allocations: 4 kB / 0.5631 GB, free: 2.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.298, allocations: 0 / 0.5631 GB, free: 2.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.298, allocations: 0 / 0.5631 GB, free: 2.297 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.0004067/0.2984, allocations: 335.3 kB / 0.5635 GB, free: 1.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2984, allocations: 8.031 kB / 0.5635 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.2985, allocations: 34.69 kB / 0.5635 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.2985, allocations: 4.922 kB / 0.5635 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.2986, allocations: 164.4 kB / 0.5637 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2986, allocations: 4.375 kB / 0.5637 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.2986, allocations: 4.375 kB / 0.5637 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.308e-05/0.2987, allocations: 33.83 kB / 0.5637 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2987, allocations: 0 / 0.5637 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.2988, allocations: 0 / 0.5637 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2988, allocations: 3.938 kB / 0.5637 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.305e-05/0.2988, allocations: 3.984 kB / 0.5637 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.2989, allocations: 149.7 kB / 0.5639 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.933e-05/0.299, allocations: 26.55 kB / 0.5639 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.299, allocations: 4.859 kB / 0.5639 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.659e-06/0.299, allocations: 0 / 0.5639 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.299, allocations: 42.42 kB / 0.5639 GB, free: 1.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.299, allocations: 0 / 0.5639 GB, free: 1.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001346/0.2992, allocations: 37.7 kB / 0.564 GB, free: 1.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.2992, allocations: 51.41 kB / 0.564 GB, free: 1.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.2993, allocations: 102 kB / 0.5641 GB, free: 1.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.2993, allocations: 25.7 kB / 0.5641 GB, free: 1.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.2994, allocations: 80.14 kB / 0.5642 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.2994, allocations: 7.891 kB / 0.5642 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.2994, allocations: 17.7 kB / 0.5642 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2995, allocations: 314.8 kB / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.2996, allocations: 0 / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-06/0.2996, allocations: 4 kB / 0.5645 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.543e-05/0.2996, allocations: 13.05 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2996, allocations: 0 / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.303e-05/0.2997, allocations: 45.56 kB / 0.5646 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2997, allocations: 8 kB / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.2997, allocations: 0 / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2997, allocations: 0 / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-05/0.2997, allocations: 0 / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.2997, allocations: 0 / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.567e-05/0.2998, allocations: 4 kB / 0.5646 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2998, allocations: 4.031 kB / 0.5646 GB, free: 0.5625 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.54e-05/0.2998, allocations: 109.8 kB / 0.5647 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.2998, allocations: 3.938 kB / 0.5647 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.3, allocations: 40.84 kB / 0.5648 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3, allocations: 4 kB / 0.5648 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3, allocations: 0 / 0.5648 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3, allocations: 8.016 kB / 0.5648 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.3001, allocations: 149.7 kB / 0.5649 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.3001, allocations: 4 kB / 0.5649 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-06/0.3001, allocations: 11.81 kB / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3001, allocations: 0 / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-06/0.3001, allocations: 0 / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3001, allocations: 0 / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3001, allocations: 0 / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.869e-05/0.3002, allocations: 65.12 kB / 0.565 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/0.3002, allocations: 81.05 kB / 0.5651 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-06/0.3002, allocations: 4 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.981e-05/0.3003, allocations: 0 / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.3003, allocations: 0 / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.3003, allocations: 4 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.129e-05/0.3004, allocations: 79.27 kB / 0.5651 GB, free: 15.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3004, allocations: 3.938 kB / 0.5652 GB, free: 15.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.3006, allocations: 40.06 kB / 0.5652 GB, free: 15.86 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.0005176/0.3011, allocations: 0.6396 MB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.082e-05/0.3012, allocations: 4 kB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3012, allocations: 0 / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.889e-05/0.3012, allocations: 33.78 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.3014, allocations: 4.062 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.3017, allocations: 130.6 kB / 0.566 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.302, allocations: 0.669 MB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.586e-05/0.302, allocations: 4 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.3021, allocations: 7.438 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3021, allocations: 0 / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.3248, allocations: 1.861 MB / 0.5685 GB, free: 12.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.716/8.04, allocations: 0 / 0.5685 GB, free: 12.48 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.891927223885432] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.11067882203497 8.137339016 7.834538243 Calling exit ...