Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001328/0.001328, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001455/0.001455, allocations: 212.4 kB / 23.73 MB, free: 4.41 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.421/1.421, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2236/0.2236, allocations: 46.97 MB / 360.9 MB, free: 4.035 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+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.Test01RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 67.89 kB / 0.4961 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3137, allocations: 66.04 MB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001825/0.3155, allocations: 491.5 kB / 0.561 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.3175, allocations: 1.354 MB / 0.5624 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.3176, allocations: 0 / 0.5624 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.232e-05/0.3176, allocations: 4 kB / 0.5624 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.912e-05/0.3176, allocations: 0 / 0.5624 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006798/0.3183, allocations: 219.4 kB / 0.5626 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.341e-05/0.3183, allocations: 15.91 kB / 0.5626 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.3184, allocations: 0 / 0.5626 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.801e-05/0.3184, allocations: 4 kB / 0.5626 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.576e-05/0.3184, allocations: 7.938 kB / 0.5626 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.3184, allocations: 0 / 0.5626 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.3189, allocations: 263.6 kB / 0.5629 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.3189, allocations: 0 / 0.5629 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.3189, allocations: 11.94 kB / 0.5629 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.3192, allocations: 141.5 kB / 0.563 GB, free: 1.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3192, allocations: 0 / 0.563 GB, free: 1.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3192, allocations: 0 / 0.563 GB, free: 1.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3192, allocations: 0 / 0.563 GB, free: 1.762 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.0003698/0.3195, allocations: 262.2 kB / 0.5633 GB, free: 1.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3196, allocations: 8.031 kB / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.3196, allocations: 30.75 kB / 0.5633 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.3197, allocations: 12.92 kB / 0.5633 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.3198, allocations: 106.5 kB / 0.5634 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.3198, allocations: 384 / 0.5634 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-06/0.3198, allocations: 4.375 kB / 0.5634 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.3199, allocations: 63.47 kB / 0.5635 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.3199, allocations: 0 / 0.5635 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3199, allocations: 8 kB / 0.5635 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3199, allocations: 0 / 0.5635 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.769e-05/0.3199, allocations: 0 / 0.5635 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.3201, allocations: 120.8 kB / 0.5636 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.052e-05/0.3201, allocations: 14.67 kB / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.3201, allocations: 12.86 kB / 0.5636 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.3201, allocations: 0 / 0.5636 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3202, allocations: 42.44 kB / 0.5637 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3202, allocations: 0 / 0.5637 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001226/0.3203, allocations: 37.69 kB / 0.5637 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.3203, allocations: 55.34 kB / 0.5637 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.743e-05/0.3204, allocations: 97.86 kB / 0.5638 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3204, allocations: 25.7 kB / 0.5639 GB, free: 0.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.3205, allocations: 80.14 kB / 0.5639 GB, free: 0.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.3205, allocations: 7.953 kB / 0.5639 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.3205, allocations: 9.719 kB / 0.564 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3207, allocations: 319.1 kB / 0.5643 GB, free: 288 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.3207, allocations: 4 kB / 0.5643 GB, free: 284 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-06/0.3207, allocations: 0 / 0.5643 GB, free: 284 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.963e-05/0.3207, allocations: 16.8 kB / 0.5643 GB, free: 264 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3207, allocations: 0 / 0.5643 GB, free: 264 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.419e-05/0.3208, allocations: 37.64 kB / 0.5643 GB, free: 220 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3208, allocations: 4 kB / 0.5643 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.3208, allocations: 0 / 0.5643 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3208, allocations: 3.938 kB / 0.5643 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.988e-05/0.3209, allocations: 8.078 kB / 0.5643 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3209, allocations: 4 kB / 0.5643 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.3209, allocations: 0 / 0.5643 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.3209, allocations: 0 / 0.5643 GB, free: 200 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.11e-05/0.321, allocations: 109.8 kB / 0.5644 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.321, allocations: 3.938 kB / 0.5644 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.3211, allocations: 48.78 kB / 0.5645 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3211, allocations: 32 / 0.5645 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3211, allocations: 4 kB / 0.5645 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3211, allocations: 0 / 0.5645 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.3212, allocations: 120.8 kB / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3212, allocations: 0 / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-06/0.3212, allocations: 3.938 kB / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.3212, allocations: 11.98 kB / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.3213, allocations: 0 / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3213, allocations: 0 / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3213, allocations: 0 / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.824e-05/0.3213, allocations: 57.08 kB / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.3214, allocations: 15.97 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.3214, allocations: 0 / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.3214, allocations: 7.984 kB / 0.5647 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-06/0.3214, allocations: 3.938 kB / 0.5647 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3214, allocations: 4 kB / 0.5647 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.834e-05/0.3215, allocations: 75.28 kB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3215, allocations: 0 / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.3217, allocations: 39.94 kB / 0.5648 GB, free: 15.62 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.0005577/0.3223, allocations: 0.6437 MB / 0.5655 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.077e-05/0.3224, allocations: 7.938 kB / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3224, allocations: 0 / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.3224, allocations: 29.7 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.3225, allocations: 0 / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.3229, allocations: 130.6 kB / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.358e-05/0.323, allocations: 55.34 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.588e-05/0.323, allocations: 4 kB / 0.5657 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.323, allocations: 11.56 kB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.323, allocations: 0 / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.3501, allocations: 2.355 MB / 0.568 GB, free: 12.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.22, allocations: 13.78 kB / 0.568 GB, free: 12.4 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.153412067331374] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 11.322963080368936 11.337880808 11.015708597 Calling exit ...