Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08219/0.08219, allocations: 12.59 MB / 28.1 MB, free: 0.8086 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 107.5 kB / 31.69 MB, free: 3.953 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.1 MB / 240.3 MB, free: 12.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 184.5 kB / 290.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4219/0.4219, allocations: 78.5 MB / 419.2 MB, free: 11.34 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 135.8 kB / 499.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.288, allocations: 68.11 MB / 0.5547 GB, free: 32.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.006207/0.2943, allocations: 6.086 MB / 0.5606 GB, free: 28.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003993/0.2983, allocations: 1.761 MB / 0.5623 GB, free: 26.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.2996, allocations: 8.719 kB / 0.5624 GB, free: 26.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006543/0.3002, allocations: 218.6 kB / 0.5626 GB, free: 26.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002176/0.3025, allocations: 0.686 MB / 0.5632 GB, free: 26.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.3037, allocations: 0.5875 MB / 0.5638 GB, free: 25.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.3052, allocations: 1.324 MB / 0.5651 GB, free: 24.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004859/0.3057, allocations: 295.2 kB / 0.5654 GB, free: 24.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008366/0.3065, allocations: 0.5547 MB / 0.5659 GB, free: 24.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006477/0.3072, allocations: 0.6925 MB / 0.5666 GB, free: 23.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.3074, allocations: 97.56 kB / 0.5667 GB, free: 23.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005249/0.3079, allocations: 238.4 kB / 0.5669 GB, free: 23.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.3081, allocations: 261 kB / 0.5672 GB, free: 23.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004082/0.3085, allocations: 0.5789 MB / 0.5677 GB, free: 23.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.3098, allocations: 1.426 MB / 0.5691 GB, free: 22.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3098, allocations: 0 / 0.5691 GB, free: 22.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3098, allocations: 0 / 0.5691 GB, free: 22.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.424e-05/0.3099, allocations: 1.125 kB / 0.5691 GB, free: 22.1 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.007583/0.3175, allocations: 2.451 MB / 0.5715 GB, free: 20.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3175, allocations: 13.8 kB / 0.5715 GB, free: 20.58 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.3177, allocations: 121.3 kB / 0.5716 GB, free: 20.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004844/0.3225, allocations: 0.7642 MB / 0.5724 GB, free: 20.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.3237, allocations: 0.736 MB / 0.5731 GB, free: 19.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.324, allocations: 250.9 kB / 0.5734 GB, free: 19.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.3241, allocations: 75.5 kB / 0.5734 GB, free: 19.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.3262, allocations: 1.079 MB / 0.5745 GB, free: 18.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.3263, allocations: 7.938 kB / 0.5745 GB, free: 18.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/0.3263, allocations: 25.38 kB / 0.5745 GB, free: 18.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.3264, allocations: 17.59 kB / 0.5745 GB, free: 18.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.3284, allocations: 1.035 MB / 0.5755 GB, free: 18 MB / 398.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.004536/0.333, allocations: 3.064 MB / 0.5785 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.3356, allocations: 1.567 MB / 0.5801 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.3369, allocations: 0.7502 MB / 0.5808 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.111e-05/0.337, allocations: 16.98 kB / 0.5808 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.337, allocations: 47.55 kB / 0.5809 GB, free: 12.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.906e-06/0.337, allocations: 0 / 0.5809 GB, free: 12.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.02734/0.3644, allocations: 7.476 MB / 0.5882 GB, free: 4.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.3645, allocations: 60.41 kB / 0.5882 GB, free: 4.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009724/0.3654, allocations: 0.8435 MB / 0.589 GB, free: 3.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.3656, allocations: 41.7 kB / 0.5891 GB, free: 3.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.3658, allocations: 456.5 kB / 0.5895 GB, free: 3.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.3661, allocations: 335.2 kB / 0.5898 GB, free: 3.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003302/0.3664, allocations: 198.8 kB / 0.59 GB, free: 2.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.169e-05/0.3665, allocations: 353.9 kB / 0.5904 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.3678, allocations: 0.6897 MB / 0.591 GB, free: 1.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.3692, allocations: 0.8258 MB / 0.5918 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/0.372, allocations: 1.497 MB / 0.5933 GB, free: 15.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.372, allocations: 0 / 0.5933 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01446/0.3865, allocations: 4.358 MB / 0.5976 GB, free: 11.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.3865, allocations: 8 kB / 0.5976 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.3866, allocations: 3.984 kB / 0.5976 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006649/0.3932, allocations: 1.901 MB / 0.5994 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009272/0.3942, allocations: 175.7 kB / 0.5996 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02423/0.4184, allocations: 9.955 MB / 0.6093 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.42, allocations: 159 kB / 0.6095 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.4202, allocations: 43.98 kB / 0.6095 GB, free: 14.61 MB / 430.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.0004416/0.4206, allocations: 229.6 kB / 0.6097 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.4208, allocations: 110.6 kB / 0.6098 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/0.4343, allocations: 4.053 MB / 0.6138 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.4344, allocations: 11.98 kB / 0.6138 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.4344, allocations: 3.938 kB / 0.6138 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/0.4344, allocations: 3.984 kB / 0.6138 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/0.4501, allocations: 5.64 MB / 0.6193 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.4502, allocations: 4 kB / 0.6193 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.4508, allocations: 87.89 kB / 0.6194 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006338/0.4571, allocations: 1.835 MB / 0.6212 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/0.4573, allocations: 20 kB / 0.6212 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/0.4783, allocations: 8.642 MB / 0.6297 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.4783, allocations: 3.984 kB / 0.6297 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01579/0.4941, allocations: 4.961 MB / 0.6345 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/0.4946, allocations: 195.6 kB / 0.6347 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/0.4949, allocations: 20 kB / 0.6347 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.4961, allocations: 91.89 kB / 0.6348 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007163/0.4969, allocations: 204.7 kB / 0.635 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.497, allocations: 16 kB / 0.635 GB, free: 4.141 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000865/0.4979, allocations: 0.5745 MB / 0.6356 GB, free: 3.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4979, allocations: 0 / 0.6356 GB, free: 3.555 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001511/0.4994, allocations: 439.5 kB / 0.636 GB, free: 3.125 MB / 446.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.01586/0.5153, allocations: 5.53 MB / 0.6414 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007326/0.5226, allocations: 2.467 MB / 0.6438 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5227, allocations: 0.5 kB / 0.6438 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004818/0.5275, allocations: 1.581 MB / 0.6453 GB, free: 9.473 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.5286, allocations: 83.44 kB / 0.6454 GB, free: 9.391 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04016/0.5687, allocations: 15.68 MB / 0.6607 GB, free: 9.367 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007868/0.5696, allocations: 1.061 MB / 0.6618 GB, free: 8.281 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000406/0.57, allocations: 82.78 kB / 0.6618 GB, free: 8.195 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000631/0.5706, allocations: 395.3 kB / 0.6622 GB, free: 7.809 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5707, allocations: 0 / 0.6622 GB, free: 7.809 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06897/0.6396, allocations: 33.05 MB / 0.6945 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.01, allocations: 8.516 kB / 0.6945 GB, free: 6.809 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)