Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001342/0.001342, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001459/0.001459, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.404/1.404, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2217/0.2217, allocations: 46.96 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test02RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 67.89 kB / 0.4961 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3159, allocations: 66.04 MB / 0.5606 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001833/0.3177, allocations: 495.4 kB / 0.5611 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.3197, allocations: 1.358 MB / 0.5624 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.3197, allocations: 0 / 0.5624 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.126e-05/0.3197, allocations: 0 / 0.5624 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.996e-05/0.3198, allocations: 0 / 0.5624 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007222/0.3205, allocations: 223.6 kB / 0.5626 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.487e-05/0.3205, allocations: 7.938 kB / 0.5626 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.3206, allocations: 0 / 0.5626 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2e-05/0.3206, allocations: 7.984 kB / 0.5626 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.3206, allocations: 3.984 kB / 0.5626 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.3206, allocations: 0 / 0.5626 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004545/0.3211, allocations: 263.6 kB / 0.5629 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.3211, allocations: 0 / 0.5629 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.3211, allocations: 3.938 kB / 0.5629 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.3214, allocations: 149.8 kB / 0.563 GB, free: 1.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3214, allocations: 0 / 0.563 GB, free: 1.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3214, allocations: 4 kB / 0.563 GB, free: 1.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.3214, allocations: 0 / 0.563 GB, free: 1.879 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004014/0.3218, allocations: 258.3 kB / 0.5633 GB, free: 1.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3218, allocations: 12.03 kB / 0.5633 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.383e-05/0.3219, allocations: 30.75 kB / 0.5633 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.3219, allocations: 4.891 kB / 0.5633 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.449e-05/0.322, allocations: 102.5 kB / 0.5634 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.322, allocations: 4.375 kB / 0.5634 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.322, allocations: 384 / 0.5634 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.3222, allocations: 71.45 kB / 0.5635 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3222, allocations: 4 kB / 0.5635 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3222, allocations: 0 / 0.5635 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3222, allocations: 4 kB / 0.5635 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.642e-05/0.3223, allocations: 8 kB / 0.5635 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.3226, allocations: 212 kB / 0.5637 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.805e-05/0.3227, allocations: 14.58 kB / 0.5637 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.3227, allocations: 12.86 kB / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.3227, allocations: 0 / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.3228, allocations: 34.56 kB / 0.5638 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3228, allocations: 0 / 0.5638 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001496/0.3229, allocations: 41.69 kB / 0.5638 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.323, allocations: 51.41 kB / 0.5638 GB, free: 0.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.964e-05/0.3231, allocations: 101.7 kB / 0.5639 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.3231, allocations: 29.7 kB / 0.564 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.3231, allocations: 84.09 kB / 0.564 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.256e-06/0.3231, allocations: 7.891 kB / 0.5641 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.3232, allocations: 13.72 kB / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3233, allocations: 326.8 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.3234, allocations: 3.938 kB / 0.5644 GB, free: 292 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.3234, allocations: 18.83 kB / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.828e-05/0.3234, allocations: 30.58 kB / 0.5644 GB, free: 224 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3234, allocations: 0 / 0.5644 GB, free: 224 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.802e-05/0.3235, allocations: 45.62 kB / 0.5645 GB, free: 172 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3235, allocations: 4 kB / 0.5645 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3235, allocations: 4.094 kB / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3236, allocations: 7.922 kB / 0.5645 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.758e-05/0.3236, allocations: 8.094 kB / 0.5645 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.3236, allocations: 7.984 kB / 0.5645 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.075e-05/0.3237, allocations: 4 kB / 0.5645 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.3237, allocations: 4 kB / 0.5645 GB, free: 132 kB / 398.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 8.694e-05/0.3238, allocations: 113.8 kB / 0.5646 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.3238, allocations: 0 / 0.5646 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.3239, allocations: 44.84 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3239, allocations: 3.938 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3239, allocations: 4.031 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3239, allocations: 0 / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.3241, allocations: 120.7 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3241, allocations: 0 / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.3241, allocations: 0 / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.3241, allocations: 4 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.3241, allocations: 0 / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3241, allocations: 3.984 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3241, allocations: 0 / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.3242, allocations: 131.5 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.3242, allocations: 11.98 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.3242, allocations: 4 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.568e-05/0.3243, allocations: 3.984 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.3243, allocations: 0 / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.3243, allocations: 3.938 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.293e-05/0.3244, allocations: 79.28 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3244, allocations: 0 / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.3246, allocations: 43.94 kB / 0.5651 GB, free: 15.49 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.0005775/0.3252, allocations: 0.7007 MB / 0.5657 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.344e-05/0.3253, allocations: 23.92 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3253, allocations: 0 / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.3253, allocations: 33.64 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.3255, allocations: 0 / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.326, allocations: 130.5 kB / 0.5659 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.245e-05/0.326, allocations: 59.34 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.196e-05/0.3261, allocations: 256 / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.3261, allocations: 15.44 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3261, allocations: 0 / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.3532, allocations: 2.357 MB / 0.5683 GB, free: 12.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.36, allocations: 8.062 kB / 0.5683 GB, free: 12.2 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.338003954850137] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'a', 'b'] 11.468349623028189 11.485656702 11.161016024 Calling exit ...