Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.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.001763/0.001763, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.521/1.521, allocations: 230.6 MB / 252.7 MB, free: 8.086 MB / 206.1 MB " [Timeout remaining time 178] 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.001785/0.001785, allocations: 221.3 kB / 309.2 MB, free: 2.93 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5802/0.5802, allocations: 107.2 MB / 472.8 MB, free: 4.473 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002568/0.002568, allocations: 83.88 kB / 0.6331 GB, free: 5.031 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4296, allocations: 80.13 MB / 0.7113 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005855/0.4354, allocations: 5.362 MB / 0.7165 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003742/0.4392, allocations: 1.764 MB / 0.7183 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006163/0.4398, allocations: 10.72 kB / 0.7183 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006098/0.4404, allocations: 210.9 kB / 0.7185 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.4425, allocations: 0.744 MB / 0.7192 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.4439, allocations: 0.5668 MB / 0.7198 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00186/0.4458, allocations: 1.337 MB / 0.7211 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004265/0.4462, allocations: 193.8 kB / 0.7213 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009292/0.4472, allocations: 0.5782 MB / 0.7218 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008422/0.448, allocations: 0.6332 MB / 0.7224 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.4481, allocations: 96.84 kB / 0.7225 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005793/0.4487, allocations: 242.1 kB / 0.7228 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.449, allocations: 265.5 kB / 0.723 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004895/0.4495, allocations: 483 kB / 0.7235 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.4515, allocations: 1.477 MB / 0.7249 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4515, allocations: 4 kB / 0.7249 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4515, allocations: 0 / 0.7249 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.072e-05/0.4515, allocations: 0 / 0.7249 GB, free: 12.02 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.008729/0.4602, allocations: 2.425 MB / 0.7273 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.4603, allocations: 13.03 kB / 0.7273 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001978/0.4605, allocations: 119.7 kB / 0.7274 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005347/0.4658, allocations: 0.7674 MB / 0.7282 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.4676, allocations: 0.6785 MB / 0.7288 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003918/0.468, allocations: 308.8 kB / 0.7291 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/0.4682, allocations: 76.69 kB / 0.7292 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.4707, allocations: 1.083 MB / 0.7302 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.4708, allocations: 0 / 0.7302 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.58e-05/0.4709, allocations: 30.56 kB / 0.7303 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.4709, allocations: 16.97 kB / 0.7303 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.4733, allocations: 1.028 MB / 0.7313 GB, free: 9.156 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00592/0.4792, allocations: 2.343 MB / 0.7336 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/0.4822, allocations: 1.02 MB / 0.7346 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.4837, allocations: 0.683 MB / 0.7353 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.4838, allocations: 15.67 kB / 0.7353 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.4839, allocations: 39.44 kB / 0.7353 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=92): time 3.797e-06/0.4839, allocations: 0 / 0.7353 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=92): time 0.03128/0.5152, allocations: 7.364 MB / 0.7425 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.5152, allocations: 61.78 kB / 0.7426 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.5167, allocations: 0.8477 MB / 0.7434 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002693/0.517, allocations: 42.27 kB / 0.7434 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/0.5174, allocations: 465.4 kB / 0.7439 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005593/0.518, allocations: 345.8 kB / 0.7442 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005436/0.5185, allocations: 196.1 kB / 0.7444 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.5187, allocations: 359.7 kB / 0.7447 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.5205, allocations: 0.6964 MB / 0.7454 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/0.5223, allocations: 0.8156 MB / 0.7462 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003506/0.5258, allocations: 1.495 MB / 0.7477 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.5258, allocations: 1.219 kB / 0.7477 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01529/0.5411, allocations: 4.322 MB / 0.7519 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.5411, allocations: 8 kB / 0.7519 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.5411, allocations: 0 / 0.7519 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007245/0.5484, allocations: 1.889 MB / 0.7537 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.5494, allocations: 175.7 kB / 0.7539 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02683/0.5762, allocations: 9.647 MB / 0.7633 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.578, allocations: 167.2 kB / 0.7635 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002412/0.5782, allocations: 39.98 kB / 0.7635 GB, free: 1.461 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0006481/0.5789, allocations: 229.6 kB / 0.7637 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003872/0.5793, allocations: 115.3 kB / 0.7639 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/0.5939, allocations: 4.014 MB / 0.7678 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.5939, allocations: 8 kB / 0.7678 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5939, allocations: 0 / 0.7678 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.756e-05/0.5939, allocations: 3.984 kB / 0.7678 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/0.6116, allocations: 4.988 MB / 0.7727 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.6116, allocations: 0 / 0.7727 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/0.6123, allocations: 99.83 kB / 0.7727 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006815/0.6192, allocations: 1.831 MB / 0.7745 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002527/0.6194, allocations: 19.98 kB / 0.7746 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02264/0.642, allocations: 8.327 MB / 0.7827 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.642, allocations: 0 / 0.7827 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0169/0.6589, allocations: 4.937 MB / 0.7875 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000516/0.6595, allocations: 123.1 kB / 0.7876 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004977/0.66, allocations: 16 kB / 0.7876 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.6613, allocations: 91.89 kB / 0.7877 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008078/0.6621, allocations: 212.6 kB / 0.7879 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/0.6623, allocations: 24 kB / 0.788 GB, free: 8.207 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001028/0.6633, allocations: 0.5705 MB / 0.7885 GB, free: 7.625 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.6633, allocations: 0 / 0.7885 GB, free: 7.625 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001805/0.6651, allocations: 443.6 kB / 0.7889 GB, free: 7.191 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01733/0.6824, allocations: 5.503 MB / 0.7943 GB, free: 1.652 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007682/0.6901, allocations: 2.34 MB / 0.7966 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.6901, allocations: 0 / 0.7966 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00531/0.6954, allocations: 1.507 MB / 0.7981 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.6966, allocations: 79.44 kB / 0.7981 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04319/0.7398, allocations: 15.12 MB / 0.8129 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/0.7404, allocations: 472.1 kB / 0.8134 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004447/0.7409, allocations: 82.77 kB / 0.8134 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006952/0.7416, allocations: 395.3 kB / 0.8138 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of SimCode: time 1.253e-06/0.7416, allocations: 4 kB / 0.8138 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08552/0.8271, allocations: 35.3 MB / 0.8483 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.91, allocations: 9.469 kB / 0.8483 GB, free: 10.27 MB / 0.6075 GB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.64128696778789] Failed to read output from testmodel.py, exit status != 0: 15.046347160823643 15.062616278 14.60785439 Calling exit ...