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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006549/0.006549, allocations: 99.34 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 239.4 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 196.4 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4881/0.4881, allocations: 78.52 MB / 418.4 MB, free: 3.164 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 76.11 kB / 0.5532 GB, free: 1.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3108, allocations: 68.16 MB / 0.6197 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.004835/0.3157, allocations: 6.051 MB / 0.6256 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.3184, allocations: 1.774 MB / 0.6274 GB, free: 2.328 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/0.3188, allocations: 12 kB / 0.6274 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.3193, allocations: 214.2 kB / 0.6276 GB, free: 2.105 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.3206, allocations: 0.7477 MB / 0.6283 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009727/0.3216, allocations: 0.5806 MB / 0.6289 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.3227, allocations: 1.331 MB / 0.6302 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003944/0.3231, allocations: 295.2 kB / 0.6305 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006169/0.3237, allocations: 0.5563 MB / 0.631 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006711/0.3244, allocations: 0.6961 MB / 0.6317 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.3245, allocations: 100 kB / 0.6318 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003933/0.3249, allocations: 231.8 kB / 0.632 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.3252, allocations: 266.8 kB / 0.6323 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004568/0.3256, allocations: 0.5747 MB / 0.6328 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.327, allocations: 1.448 MB / 0.6342 GB, free: 11.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.327, allocations: 0 / 0.6342 GB, free: 11.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.327, allocations: 0 / 0.6342 GB, free: 11.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.327, allocations: 0 / 0.6342 GB, free: 11.28 MB / 446.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.007796/0.3348, allocations: 2.484 MB / 0.6367 GB, free: 8.738 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.3349, allocations: 16.02 kB / 0.6367 GB, free: 8.723 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/0.3351, allocations: 122.5 kB / 0.6368 GB, free: 8.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004966/0.34, allocations: 0.7719 MB / 0.6375 GB, free: 7.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.3413, allocations: 0.7484 MB / 0.6383 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.3416, allocations: 252.2 kB / 0.6385 GB, free: 6.742 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.3418, allocations: 75.94 kB / 0.6386 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.344, allocations: 1.083 MB / 0.6396 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.344, allocations: 0 / 0.6396 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.16e-05/0.3441, allocations: 28 kB / 0.6397 GB, free: 5.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.3441, allocations: 27.88 kB / 0.6397 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/0.3463, allocations: 1.035 MB / 0.6407 GB, free: 4.484 MB / 446.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.00505/0.3514, allocations: 3.046 MB / 0.6437 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/0.3543, allocations: 1.565 MB / 0.6452 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.3557, allocations: 0.7579 MB / 0.6459 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.845e-05/0.3558, allocations: 16.98 kB / 0.646 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.3559, allocations: 47.56 kB / 0.646 GB, free: 14.78 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 2.635e-06/0.3559, allocations: 0 / 0.646 GB, free: 14.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.02948/0.3854, allocations: 7.484 MB / 0.6533 GB, free: 7.262 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.3855, allocations: 60.41 kB / 0.6534 GB, free: 7.191 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.3866, allocations: 0.8437 MB / 0.6542 GB, free: 6.324 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.3867, allocations: 41.7 kB / 0.6542 GB, free: 6.277 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.3871, allocations: 461.1 kB / 0.6547 GB, free: 5.82 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/0.3874, allocations: 349 kB / 0.655 GB, free: 5.477 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000368/0.3878, allocations: 198.9 kB / 0.6552 GB, free: 5.273 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3879, allocations: 349.9 kB / 0.6555 GB, free: 4.926 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.3894, allocations: 0.6936 MB / 0.6562 GB, free: 4.234 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.391, allocations: 0.8181 MB / 0.657 GB, free: 3.387 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003007/0.394, allocations: 1.493 MB / 0.6585 GB, free: 1.867 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.394, allocations: 4 kB / 0.6585 GB, free: 1.863 MB / 462.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01388/0.4079, allocations: 4.359 MB / 0.6627 GB, free: 13.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.408, allocations: 8 kB / 0.6627 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.408, allocations: 0 / 0.6627 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006556/0.4146, allocations: 1.897 MB / 0.6646 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008851/0.4155, allocations: 179.7 kB / 0.6648 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02288/0.4384, allocations: 9.975 MB / 0.6745 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.4398, allocations: 163.2 kB / 0.6747 GB, free: 1.121 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.768e-05/0.4399, allocations: 39.98 kB / 0.6747 GB, free: 1.082 MB / 478.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.0004169/0.4403, allocations: 233.5 kB / 0.6749 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.4405, allocations: 111.3 kB / 0.675 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.454, allocations: 4.049 MB / 0.679 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.454, allocations: 8 kB / 0.679 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.454, allocations: 3.938 kB / 0.679 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/0.4541, allocations: 11.92 kB / 0.679 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.4697, allocations: 5.629 MB / 0.6845 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.4697, allocations: 0 / 0.6845 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.4703, allocations: 95.89 kB / 0.6846 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006185/0.4765, allocations: 1.831 MB / 0.6864 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/0.4767, allocations: 19.98 kB / 0.6864 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02017/0.4969, allocations: 8.644 MB / 0.6948 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.497, allocations: 3.984 kB / 0.6948 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/0.5122, allocations: 4.972 MB / 0.6997 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004064/0.5127, allocations: 208.2 kB / 0.6999 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.5128, allocations: 16 kB / 0.6999 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009826/0.5138, allocations: 87.89 kB / 0.7 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006443/0.5145, allocations: 204.7 kB / 0.7002 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.092e-05/0.5146, allocations: 27.98 kB / 0.7002 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007467/0.5153, allocations: 0.5589 MB / 0.7008 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5153, allocations: 4 kB / 0.7008 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001271/0.5166, allocations: 435.7 kB / 0.7012 GB, free: 5.594 MB / 0.4981 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.01569/0.5323, allocations: 5.546 MB / 0.7066 GB, free: 4 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006842/0.5392, allocations: 2.462 MB / 0.709 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.5392, allocations: 0 / 0.709 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004776/0.544, allocations: 1.57 MB / 0.7105 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008561/0.5449, allocations: 83.38 kB / 0.7106 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03877/0.5837, allocations: 15.19 MB / 0.7255 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007654/0.5845, allocations: 1.057 MB / 0.7265 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004028/0.5849, allocations: 82.77 kB / 0.7266 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006069/0.5855, allocations: 399.3 kB / 0.7269 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/0.5855, allocations: 4 kB / 0.7269 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06695/0.6525, allocations: 33.43 MB / 0.7596 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.42/18.07, allocations: 4.062 kB / 0.7596 GB, free: 9.574 MB / 0.5606 GB (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)