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.00138/0.00138, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.453/1.453, allocations: 230.6 MB / 252.7 MB, free: 8.281 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.001656/0.001656, allocations: 214.8 kB / 309.2 MB, free: 3.125 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.4739/0.4739, allocations: 79.73 MB / 445.4 MB, free: 14.84 MB / 318.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.003927/0.003927, allocations: 90.05 kB / 0.593 GB, free: 13.91 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.193, allocations: 73.29 MB / 0.6645 GB, free: 4.516 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.007735/0.2008, allocations: 6.1 MB / 0.6705 GB, free: 14.39 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004326/0.2051, allocations: 1.844 MB / 0.6723 GB, free: 12.54 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008354/0.2059, allocations: 12 kB / 0.6723 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006454/0.2066, allocations: 214.2 kB / 0.6725 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.2088, allocations: 0.7678 MB / 0.6732 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.2101, allocations: 0.5682 MB / 0.6738 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002022/0.2122, allocations: 1.339 MB / 0.6751 GB, free: 9.637 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004175/0.2126, allocations: 199.8 kB / 0.6753 GB, free: 9.43 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009048/0.2135, allocations: 0.5835 MB / 0.6759 GB, free: 8.844 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009702/0.2145, allocations: 0.7039 MB / 0.6766 GB, free: 8.137 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.2146, allocations: 96 kB / 0.6766 GB, free: 8.043 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005869/0.2152, allocations: 251.9 kB / 0.6769 GB, free: 7.797 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.2155, allocations: 262.8 kB / 0.6771 GB, free: 7.539 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005658/0.216, allocations: 0.5709 MB / 0.6777 GB, free: 6.965 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.2182, allocations: 1.47 MB / 0.6791 GB, free: 5.488 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2182, allocations: 0 / 0.6791 GB, free: 5.488 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2182, allocations: 0 / 0.6791 GB, free: 5.488 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.7e-05/0.2182, allocations: 0 / 0.6791 GB, free: 5.488 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.008457/0.2267, allocations: 2.428 MB / 0.6815 GB, free: 3.023 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.2267, allocations: 15.98 kB / 0.6815 GB, free: 3.008 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/0.2269, allocations: 118.5 kB / 0.6816 GB, free: 2.883 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005001/0.2319, allocations: 0.7758 MB / 0.6824 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.2336, allocations: 0.6686 MB / 0.683 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004188/0.234, allocations: 307.5 kB / 0.6833 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.2342, allocations: 71.94 kB / 0.6834 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.2365, allocations: 1.083 MB / 0.6845 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.2365, allocations: 3.938 kB / 0.6845 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.703e-05/0.2366, allocations: 32 kB / 0.6845 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.2366, allocations: 16 kB / 0.6845 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.239, allocations: 1.038 MB / 0.6855 GB, free: 14.8 MB / 494.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.005945/0.2449, allocations: 3.017 MB / 0.6885 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/0.2478, allocations: 1.021 MB / 0.6895 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.2493, allocations: 0.6759 MB / 0.6901 GB, free: 9.938 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.2495, allocations: 20.97 kB / 0.6901 GB, free: 9.918 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.2495, allocations: 43.5 kB / 0.6902 GB, free: 9.867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=92): time 3.406e-06/0.2495, allocations: 0 / 0.6902 GB, free: 9.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=92): time 0.03015/0.2796, allocations: 7.372 MB / 0.6974 GB, free: 2.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.2797, allocations: 64.41 kB / 0.6974 GB, free: 2.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.281, allocations: 0.8436 MB / 0.6983 GB, free: 1.539 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002456/0.2813, allocations: 41.7 kB / 0.6983 GB, free: 1.492 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00042/0.2817, allocations: 457.1 kB / 0.6987 GB, free: 1.039 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000418/0.2821, allocations: 349 kB / 0.6991 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003966/0.2825, allocations: 198.9 kB / 0.6993 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.2827, allocations: 349.9 kB / 0.6996 GB, free: 148 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3434/0.6261, allocations: 0.691 MB / 0.7003 GB, free: 33.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.6276, allocations: 0.8197 MB / 0.7011 GB, free: 33.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/0.6305, allocations: 1.494 MB / 0.7025 GB, free: 33.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.6305, allocations: 4.594 kB / 0.7025 GB, free: 33.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01466/0.6451, allocations: 4.316 MB / 0.7068 GB, free: 33.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.6452, allocations: 6.828 kB / 0.7068 GB, free: 33.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.6452, allocations: 2.219 kB / 0.7068 GB, free: 33.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007489/0.6527, allocations: 1.892 MB / 0.7086 GB, free: 33.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.6538, allocations: 174.6 kB / 0.7088 GB, free: 33.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02436/0.6781, allocations: 9.866 MB / 0.7184 GB, free: 28.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.6796, allocations: 162.4 kB / 0.7186 GB, free: 28.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.6797, allocations: 38.3 kB / 0.7186 GB, free: 28.78 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.000415/0.6801, allocations: 236.9 kB / 0.7188 GB, free: 28.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.6803, allocations: 116.7 kB / 0.7189 GB, free: 28.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/0.6931, allocations: 4.009 MB / 0.7229 GB, free: 27.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.6931, allocations: 9.5 kB / 0.7229 GB, free: 27.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.6931, allocations: 4 kB / 0.7229 GB, free: 27.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.599e-05/0.6931, allocations: 7.844 kB / 0.7229 GB, free: 27.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/0.7078, allocations: 5.573 MB / 0.7283 GB, free: 24.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.7078, allocations: 0 / 0.7283 GB, free: 24.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/0.7084, allocations: 86.81 kB / 0.7284 GB, free: 24.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005789/0.7142, allocations: 1.84 MB / 0.7302 GB, free: 24.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/0.7144, allocations: 15.47 kB / 0.7302 GB, free: 24.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01843/0.7328, allocations: 8.555 MB / 0.7386 GB, free: 18.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.7328, allocations: 4 kB / 0.7386 GB, free: 18.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/0.7461, allocations: 4.927 MB / 0.7434 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000396/0.7465, allocations: 132.2 kB / 0.7435 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.7467, allocations: 16 kB / 0.7435 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009118/0.7476, allocations: 91.89 kB / 0.7436 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006336/0.7482, allocations: 212.6 kB / 0.7438 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.665e-05/0.7483, allocations: 20 kB / 0.7438 GB, free: 12.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006182/0.7489, allocations: 0.5667 MB / 0.7444 GB, free: 12.28 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7489, allocations: 0 / 0.7444 GB, free: 12.28 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001354/0.7502, allocations: 449.1 kB / 0.7448 GB, free: 11.86 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.01376/0.764, allocations: 5.505 MB / 0.7502 GB, free: 6.324 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006018/0.77, allocations: 2.321 MB / 0.7525 GB, free: 3.996 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.77, allocations: 0 / 0.7525 GB, free: 3.996 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00412/0.7741, allocations: 1.51 MB / 0.7539 GB, free: 2.477 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008455/0.775, allocations: 86.23 kB / 0.754 GB, free: 2.395 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03984/0.8148, allocations: 15.14 MB / 0.7688 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008756/0.8157, allocations: 1.053 MB / 0.7698 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004585/0.8162, allocations: 82.77 kB / 0.7699 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006078/0.8168, allocations: 395.3 kB / 0.7703 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of SimCode: time 2.104e-06/0.8168, allocations: 0 / 0.7703 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08612/0.9029, allocations: 34.7 MB / 0.8042 GB, free: 15.03 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.17/19.07, allocations: 6.5 kB / 0.8042 GB, free: 15.02 MB / 0.545 GB " [Timeout remaining time 641] (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: 22.732383112997923] Failed to read output from testmodel.py, exit status != 0: 19.205099925999093 19.232138768 19.008585463 Calling exit ...