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.001387/0.001387, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.517/1.517, allocations: 230.6 MB / 249.8 MB, free: 9.227 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.002556/0.002556, allocations: 215.2 kB / 306 MB, free: 4.348 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.453/0.453, allocations: 79.71 MB / 441.8 MB, free: 176 kB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.002449/0.002449, allocations: 90.38 kB / 0.5878 GB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1525, allocations: 73.27 MB / 0.6594 GB, free: 8.238 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.00734/0.1599, allocations: 6.076 MB / 0.6653 GB, free: 2.121 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004256/0.1641, allocations: 1.817 MB / 0.6671 GB, free: 304 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008483/0.165, allocations: 15.94 kB / 0.6671 GB, free: 288 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.1656, allocations: 210.2 kB / 0.6673 GB, free: 76 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.1677, allocations: 0.7643 MB / 0.668 GB, free: 15.31 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.1691, allocations: 0.5838 MB / 0.6686 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001846/0.171, allocations: 1.346 MB / 0.6699 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.1713, allocations: 195.4 kB / 0.6701 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008283/0.1722, allocations: 0.5796 MB / 0.6707 GB, free: 12.6 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008283/0.173, allocations: 0.7039 MB / 0.6714 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.1731, allocations: 96 kB / 0.6715 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005367/0.1737, allocations: 251.8 kB / 0.6717 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.1739, allocations: 262.9 kB / 0.6719 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005517/0.1745, allocations: 0.5709 MB / 0.6725 GB, free: 10.72 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.1762, allocations: 1.47 MB / 0.6739 GB, free: 9.242 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1762, allocations: 0 / 0.6739 GB, free: 9.242 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1762, allocations: 4 kB / 0.6739 GB, free: 9.238 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.034e-05/0.1763, allocations: 0 / 0.6739 GB, free: 9.238 MB / 478.1 MB 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.008664/0.1849, allocations: 2.503 MB / 0.6764 GB, free: 6.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.185, allocations: 16.03 kB / 0.6764 GB, free: 6.664 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/0.1851, allocations: 114.5 kB / 0.6765 GB, free: 6.543 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005261/0.1904, allocations: 0.7758 MB / 0.6773 GB, free: 5.766 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.1919, allocations: 0.7446 MB / 0.678 GB, free: 4.977 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003342/0.1922, allocations: 256.2 kB / 0.6782 GB, free: 4.691 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.1924, allocations: 75.94 kB / 0.6783 GB, free: 4.617 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.1948, allocations: 1.079 MB / 0.6794 GB, free: 3.523 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.1948, allocations: 0 / 0.6794 GB, free: 3.523 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.712e-05/0.1949, allocations: 28 kB / 0.6794 GB, free: 3.496 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.1949, allocations: 16 kB / 0.6794 GB, free: 3.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/0.1973, allocations: 1.042 MB / 0.6804 GB, free: 2.438 MB / 478.1 MB 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.006186/0.2035, allocations: 3.053 MB / 0.6834 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/0.2068, allocations: 1.491 MB / 0.6849 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.2083, allocations: 0.6681 MB / 0.6855 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.2084, allocations: 9 kB / 0.6855 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.2085, allocations: 43.56 kB / 0.6856 GB, free: 12.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=92): time 2.896e-06/0.2085, allocations: 0 / 0.6856 GB, free: 12.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=92): time 0.0319/0.2404, allocations: 7.449 MB / 0.6928 GB, free: 5.418 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.2404, allocations: 64.34 kB / 0.6929 GB, free: 5.344 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.2417, allocations: 0.8359 MB / 0.6937 GB, free: 4.484 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002403/0.242, allocations: 45.7 kB / 0.6938 GB, free: 4.434 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000401/0.2424, allocations: 449.2 kB / 0.6942 GB, free: 3.988 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/0.2428, allocations: 349 kB / 0.6945 GB, free: 3.645 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004204/0.2433, allocations: 202.9 kB / 0.6947 GB, free: 3.438 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.2434, allocations: 353.9 kB / 0.6951 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.2451, allocations: 0.6936 MB / 0.6957 GB, free: 2.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/0.2469, allocations: 0.8142 MB / 0.6965 GB, free: 1.551 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003354/0.2502, allocations: 1.497 MB / 0.698 GB, free: 28 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2502, allocations: 0 / 0.698 GB, free: 28 kB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.3034/0.5536, allocations: 4.317 MB / 0.7022 GB, free: 35.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.5536, allocations: 6.844 kB / 0.7022 GB, free: 35.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.5536, allocations: 2.297 kB / 0.7022 GB, free: 35.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00726/0.5609, allocations: 1.896 MB / 0.7041 GB, free: 35.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009751/0.5619, allocations: 178.2 kB / 0.7042 GB, free: 35.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02452/0.5864, allocations: 9.978 MB / 0.714 GB, free: 31.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.5878, allocations: 162.8 kB / 0.7141 GB, free: 31.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.5879, allocations: 38.91 kB / 0.7142 GB, free: 31.66 MB / 494.1 MB 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.0003828/0.5883, allocations: 230 kB / 0.7144 GB, free: 31.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.5885, allocations: 120.2 kB / 0.7145 GB, free: 31.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/0.6018, allocations: 4.013 MB / 0.7184 GB, free: 30.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.6018, allocations: 8.75 kB / 0.7184 GB, free: 30.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6018, allocations: 4 kB / 0.7184 GB, free: 30.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.6018, allocations: 7.359 kB / 0.7184 GB, free: 30.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/0.6167, allocations: 5.6 MB / 0.7239 GB, free: 27.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.6167, allocations: 0 / 0.7239 GB, free: 27.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006399/0.6174, allocations: 90.38 kB / 0.724 GB, free: 27.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006721/0.6241, allocations: 1.84 MB / 0.7258 GB, free: 27.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002098/0.6243, allocations: 15.94 kB / 0.7258 GB, free: 27.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01867/0.643, allocations: 8.645 MB / 0.7343 GB, free: 21.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.643, allocations: 0 / 0.7343 GB, free: 21.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/0.6569, allocations: 4.929 MB / 0.7391 GB, free: 16.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.6574, allocations: 201.3 kB / 0.7393 GB, free: 16.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.6575, allocations: 18 kB / 0.7393 GB, free: 16.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000985/0.6585, allocations: 91.89 kB / 0.7394 GB, free: 16.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006598/0.6592, allocations: 204.7 kB / 0.7396 GB, free: 16.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.787e-05/0.6592, allocations: 20 kB / 0.7396 GB, free: 16.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006499/0.6599, allocations: 0.5667 MB / 0.7401 GB, free: 15.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6599, allocations: 0 / 0.7401 GB, free: 15.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001493/0.6614, allocations: 442.8 kB / 0.7406 GB, free: 15.24 MB / 494.1 MB 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.01429/0.6757, allocations: 5.508 MB / 0.7459 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006246/0.6819, allocations: 2.331 MB / 0.7482 GB, free: 7.367 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6819, allocations: 4 kB / 0.7482 GB, free: 7.363 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004315/0.6862, allocations: 1.505 MB / 0.7497 GB, free: 5.848 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/0.687, allocations: 85.77 kB / 0.7498 GB, free: 5.766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03907/0.7261, allocations: 15.14 MB / 0.7645 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008003/0.7269, allocations: 1.057 MB / 0.7656 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004425/0.7273, allocations: 82.77 kB / 0.7657 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005892/0.7279, allocations: 391.3 kB / 0.766 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of SimCode: time 1.983e-06/0.7279, allocations: 0 / 0.766 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07992/0.8078, allocations: 33.75 MB / 0.799 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17/17.81, allocations: 12 kB / 0.799 GB, free: 3.293 MB / 0.5294 GB " [Timeout remaining time 642] (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: 21.384957610003767] Failed to read output from testmodel.py, exit status != 0: 17.922358180003357 17.944071683 17.76378068 Calling exit ...