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.08095/0.08095, allocations: 12.6 MB / 28.1 MB, free: 236 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 103.6 kB / 31.7 MB, free: 3.496 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.294/1.294, allocations: 205.1 MB / 240.3 MB, free: 12.46 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.001402/0.001402, allocations: 199.4 kB / 290.6 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.4412/0.4412, allocations: 78.5 MB / 419.2 MB, free: 11.36 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.003155/0.003155, allocations: 139.8 kB / 499.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3153, allocations: 68.11 MB / 0.5547 GB, free: 32.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.006744/0.3221, allocations: 6.081 MB / 0.5606 GB, free: 28.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00381/0.3259, allocations: 1.756 MB / 0.5623 GB, free: 26.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.3271, allocations: 10.03 kB / 0.5623 GB, free: 26.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007335/0.3279, allocations: 218.3 kB / 0.5626 GB, free: 26.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.3299, allocations: 0.6979 MB / 0.5632 GB, free: 26.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.3311, allocations: 0.5753 MB / 0.5638 GB, free: 25.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.3325, allocations: 1.325 MB / 0.5651 GB, free: 25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004435/0.333, allocations: 294.6 kB / 0.5654 GB, free: 24.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006205/0.3336, allocations: 0.5623 MB / 0.5659 GB, free: 24.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006403/0.3342, allocations: 0.685 MB / 0.5666 GB, free: 24.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.3344, allocations: 96.88 kB / 0.5667 GB, free: 24.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004367/0.3349, allocations: 235 kB / 0.5669 GB, free: 23.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.335, allocations: 264.6 kB / 0.5672 GB, free: 23.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003901/0.3354, allocations: 0.5823 MB / 0.5677 GB, free: 23.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.3366, allocations: 1.423 MB / 0.5691 GB, free: 22.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3366, allocations: 0 / 0.5691 GB, free: 22.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3366, allocations: 4 kB / 0.5691 GB, free: 22.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.245e-05/0.3366, allocations: 0 / 0.5691 GB, free: 22.23 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.007309/0.3439, allocations: 2.448 MB / 0.5715 GB, free: 20.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.344, allocations: 21.11 kB / 0.5715 GB, free: 20.71 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.3441, allocations: 118.6 kB / 0.5716 GB, free: 20.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004715/0.3488, allocations: 0.7629 MB / 0.5724 GB, free: 20.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009224/0.3498, allocations: 0.7366 MB / 0.5731 GB, free: 19.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.35, allocations: 246.7 kB / 0.5733 GB, free: 19.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.3502, allocations: 80.25 kB / 0.5734 GB, free: 19.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.3522, allocations: 1.078 MB / 0.5745 GB, free: 18.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.3522, allocations: 3.938 kB / 0.5745 GB, free: 18.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.819e-05/0.3523, allocations: 35.2 kB / 0.5745 GB, free: 18.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.3523, allocations: 16.91 kB / 0.5745 GB, free: 18.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.3543, allocations: 1.035 MB / 0.5755 GB, free: 17.98 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.004067/0.3584, allocations: 3.068 MB / 0.5785 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/0.3609, allocations: 1.567 MB / 0.5801 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.3622, allocations: 0.7541 MB / 0.5808 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.895e-05/0.3623, allocations: 12.98 kB / 0.5808 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.3623, allocations: 43.5 kB / 0.5809 GB, free: 12.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.365e-06/0.3623, allocations: 0 / 0.5809 GB, free: 12.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.02729/0.3896, allocations: 7.484 MB / 0.5882 GB, free: 4.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.3897, allocations: 64.34 kB / 0.5882 GB, free: 4.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.3908, allocations: 0.8435 MB / 0.5891 GB, free: 3.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.3909, allocations: 41.7 kB / 0.5891 GB, free: 3.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.3911, allocations: 452.5 kB / 0.5895 GB, free: 3.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000263/0.3914, allocations: 331.2 kB / 0.5898 GB, free: 2.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003397/0.3917, allocations: 194.9 kB / 0.59 GB, free: 2.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.3918, allocations: 357.9 kB / 0.5904 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.3931, allocations: 0.6936 MB / 0.591 GB, free: 1.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.3945, allocations: 0.818 MB / 0.5918 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002769/0.3973, allocations: 1.497 MB / 0.5933 GB, free: 15.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.3973, allocations: 0 / 0.5933 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0142/0.4115, allocations: 4.366 MB / 0.5976 GB, free: 11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.4115, allocations: 8 kB / 0.5976 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4116, allocations: 0 / 0.5976 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006654/0.4182, allocations: 1.897 MB / 0.5994 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00094/0.4192, allocations: 175.7 kB / 0.5996 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02722/0.4464, allocations: 9.959 MB / 0.6093 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.4481, allocations: 163 kB / 0.6095 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/0.4483, allocations: 39.98 kB / 0.6095 GB, free: 14.6 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.0005822/0.4489, allocations: 229.6 kB / 0.6097 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/0.4493, allocations: 110.6 kB / 0.6098 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/0.4629, allocations: 4.061 MB / 0.6138 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4629, allocations: 8 kB / 0.6138 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4629, allocations: 0 / 0.6138 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.463, allocations: 3.984 kB / 0.6138 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/0.4784, allocations: 5.629 MB / 0.6193 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.4784, allocations: 4 kB / 0.6193 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005441/0.479, allocations: 87.89 kB / 0.6194 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006301/0.4853, allocations: 1.843 MB / 0.6212 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-05/0.4854, allocations: 23.98 kB / 0.6212 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02103/0.5064, allocations: 8.646 MB / 0.6297 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5065, allocations: 0 / 0.6297 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01558/0.5221, allocations: 4.961 MB / 0.6345 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/0.5226, allocations: 195.6 kB / 0.6347 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003049/0.5229, allocations: 16 kB / 0.6347 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.5241, allocations: 95.89 kB / 0.6348 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006412/0.5248, allocations: 200.7 kB / 0.635 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.902e-05/0.5249, allocations: 16 kB / 0.635 GB, free: 4.133 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008227/0.5257, allocations: 0.5706 MB / 0.6356 GB, free: 3.551 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5257, allocations: 0 / 0.6356 GB, free: 3.551 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001449/0.5272, allocations: 439.5 kB / 0.636 GB, free: 3.121 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.01615/0.5433, allocations: 5.537 MB / 0.6414 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007375/0.5508, allocations: 2.471 MB / 0.6438 GB, free: 11.06 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.5508, allocations: 0 / 0.6438 GB, free: 11.06 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005101/0.5559, allocations: 1.582 MB / 0.6454 GB, free: 9.461 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.5571, allocations: 87.42 kB / 0.6454 GB, free: 9.375 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04077/0.5979, allocations: 15.66 MB / 0.6607 GB, free: 9.359 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008538/0.5988, allocations: 1.057 MB / 0.6618 GB, free: 8.277 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004704/0.5993, allocations: 86.77 kB / 0.6618 GB, free: 8.188 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006592/0.6, allocations: 399.3 kB / 0.6622 GB, free: 7.797 MB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6, allocations: 3.938 kB / 0.6622 GB, free: 7.793 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06839/0.6684, allocations: 33.05 MB / 0.6945 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.22, allocations: 8.578 kB / 0.6945 GB, free: 6.797 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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)