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.001285/0.001285, allocations: 120.4 kB / 20.44 MB, free: 1.461 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.001441/0.001441, allocations: 212.1 kB / 23.74 MB, free: 4.695 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.482/1.482, allocations: 230.5 MB / 257.4 MB, free: 8.184 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.2185/0.2185, allocations: 46.93 MB / 360.8 MB, free: 4.203 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.002265/0.002265, allocations: 79.88 kB / 0.4962 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3135, allocations: 66.08 MB / 0.5607 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001699/0.3152, allocations: 0.489 MB / 0.5612 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.3177, allocations: 1.42 MB / 0.5626 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.3177, allocations: 0 / 0.5626 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.3177, allocations: 0 / 0.5626 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.954e-05/0.3178, allocations: 0 / 0.5626 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007403/0.3185, allocations: 222.9 kB / 0.5628 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.514e-05/0.3186, allocations: 8 kB / 0.5628 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.3186, allocations: 0 / 0.5628 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.86e-05/0.3186, allocations: 4 kB / 0.5628 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.3187, allocations: 3.984 kB / 0.5628 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.3187, allocations: 4 kB / 0.5628 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004738/0.3192, allocations: 279.6 kB / 0.5631 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.3192, allocations: 7.922 kB / 0.5631 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.832e-05/0.3192, allocations: 0 / 0.5631 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.3194, allocations: 145.5 kB / 0.5632 GB, free: 1.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3195, allocations: 0 / 0.5632 GB, free: 1.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3195, allocations: 0 / 0.5632 GB, free: 1.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3195, allocations: 0 / 0.5632 GB, free: 1.609 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.0003768/0.3198, allocations: 262.2 kB / 0.5635 GB, free: 1.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3199, allocations: 16.02 kB / 0.5635 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.3199, allocations: 30.75 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.32, allocations: 4.938 kB / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.3201, allocations: 106.5 kB / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.3201, allocations: 4.312 kB / 0.5636 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.3201, allocations: 4.312 kB / 0.5636 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.922e-05/0.3202, allocations: 37.77 kB / 0.5637 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3202, allocations: 0 / 0.5637 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.3202, allocations: 0 / 0.5637 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3202, allocations: 4 kB / 0.5637 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.3202, allocations: 7.984 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.3204, allocations: 120.8 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.759e-05/0.3204, allocations: 14.58 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.906e-05/0.3204, allocations: 4.859 kB / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.3205, allocations: 4.062 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.3205, allocations: 46.42 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3205, allocations: 4 kB / 0.5639 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001393/0.3206, allocations: 33.7 kB / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.3207, allocations: 51.41 kB / 0.5639 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/0.3208, allocations: 89.86 kB / 0.564 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3208, allocations: 25.7 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.3208, allocations: 88.14 kB / 0.5641 GB, free: 0.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.3208, allocations: 7.938 kB / 0.5642 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.3209, allocations: 13.97 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.321, allocations: 314.8 kB / 0.5645 GB, free: 160 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.321, allocations: 0 / 0.5645 GB, free: 160 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-06/0.321, allocations: 0 / 0.5645 GB, free: 160 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.017e-05/0.3211, allocations: 16.8 kB / 0.5645 GB, free: 140 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3211, allocations: 0 / 0.5645 GB, free: 140 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.13e-05/0.3211, allocations: 41.62 kB / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3211, allocations: 4 kB / 0.5645 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3211, allocations: 4.094 kB / 0.5645 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3211, allocations: 0 / 0.5645 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.645e-05/0.3212, allocations: 4 kB / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3212, allocations: 0 / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.3212, allocations: 0 / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.3212, allocations: 3.984 kB / 0.5645 GB, free: 76 kB / 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 8.727e-05/0.3213, allocations: 109.8 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.3213, allocations: 3.938 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.3214, allocations: 56.78 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3215, allocations: 0 / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3215, allocations: 3.938 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3215, allocations: 0 / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.3216, allocations: 120.8 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3216, allocations: 0 / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.244e-06/0.3216, allocations: 3.938 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3216, allocations: 7.938 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.3216, allocations: 4.031 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3216, allocations: 0 / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3216, allocations: 0 / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.027e-05/0.3217, allocations: 69.05 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.3217, allocations: 7.938 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.3217, allocations: 0 / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.3218, allocations: 4 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.3218, allocations: 4.031 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.3218, allocations: 0 / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.799e-05/0.3218, allocations: 87.27 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3218, allocations: 0 / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.3221, allocations: 35.94 kB / 0.565 GB, free: 15.48 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.0005582/0.3226, allocations: 0.632 MB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.299e-05/0.3227, allocations: 7.938 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.3227, allocations: 4 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.352e-05/0.3228, allocations: 33.69 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.3229, allocations: 2.344 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.3233, allocations: 122.6 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.3236, allocations: 0.669 MB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.412e-05/0.3236, allocations: 4.125 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.3237, allocations: 11.44 kB / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3237, allocations: 0 / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.3508, allocations: 1.952 MB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.91, allocations: 12.22 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB " [Timeout remaining time 649] (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: 13.814871037000557] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 11.006589722004719 11.023291127 10.7003686 Calling exit ...