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.0987/0.0987, allocations: 12.59 MB / 28.22 MB, free: 0.7383 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.00111/0.00111, allocations: 111.4 kB / 31.83 MB, free: 3.879 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.37/1.37, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.00142/0.00142, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4739/0.4739, allocations: 78.52 MB / 419.3 MB, free: 11.25 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.002527/0.002527, allocations: 142.2 kB / 0.5554 GB, free: 28.74 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1345, allocations: 68.14 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.00627/0.1408, allocations: 6.109 MB / 0.6279 GB, free: 9.789 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003003/0.1438, allocations: 1.74 MB / 0.6296 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003384/0.1442, allocations: 11.94 kB / 0.6296 GB, free: 8.031 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004269/0.1446, allocations: 214.2 kB / 0.6298 GB, free: 7.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.1461, allocations: 0.7463 MB / 0.6305 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.1472, allocations: 0.5764 MB / 0.6311 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00114/0.1484, allocations: 1.339 MB / 0.6324 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003717/0.1487, allocations: 287.3 kB / 0.6327 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005525/0.1493, allocations: 0.5562 MB / 0.6332 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006435/0.15, allocations: 0.6922 MB / 0.6339 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.1501, allocations: 100 kB / 0.634 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003682/0.1505, allocations: 231.9 kB / 0.6342 GB, free: 3.285 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.1507, allocations: 270.8 kB / 0.6345 GB, free: 3.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004262/0.1511, allocations: 0.5748 MB / 0.635 GB, free: 2.441 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1524, allocations: 1.447 MB / 0.6364 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1524, allocations: 0 / 0.6364 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1524, allocations: 4 kB / 0.6364 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.1524, allocations: 0 / 0.6364 GB, free: 0.9844 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.007473/0.1599, allocations: 2.488 MB / 0.6389 GB, free: 14.44 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1599, allocations: 11.98 kB / 0.6389 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.1601, allocations: 118.5 kB / 0.639 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004827/0.1649, allocations: 0.7758 MB / 0.6398 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.1662, allocations: 0.7447 MB / 0.6405 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/0.1664, allocations: 252.1 kB / 0.6407 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.1666, allocations: 83.88 kB / 0.6408 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.1686, allocations: 1.086 MB / 0.6419 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1687, allocations: 0 / 0.6419 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.909e-05/0.1688, allocations: 28 kB / 0.6419 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.1688, allocations: 16 kB / 0.6419 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.1709, allocations: 1.031 MB / 0.6429 GB, free: 10.2 MB / 462.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.004753/0.1757, allocations: 3.057 MB / 0.6459 GB, free: 7.008 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002875/0.1785, allocations: 1.561 MB / 0.6474 GB, free: 5.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.18, allocations: 0.7502 MB / 0.6482 GB, free: 4.566 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.978e-05/0.1801, allocations: 24.98 kB / 0.6482 GB, free: 4.543 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.1801, allocations: 47.48 kB / 0.6482 GB, free: 4.488 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 4.168e-06/0.1801, allocations: 0 / 0.6482 GB, free: 4.488 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.02903/0.2091, allocations: 7.48 MB / 0.6555 GB, free: 12.97 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.2092, allocations: 60.41 kB / 0.6556 GB, free: 12.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.2103, allocations: 0.8359 MB / 0.6564 GB, free: 12.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001392/0.2105, allocations: 45.7 kB / 0.6565 GB, free: 11.99 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.2108, allocations: 457.1 kB / 0.6569 GB, free: 11.54 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003898/0.2112, allocations: 349 kB / 0.6572 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003996/0.2116, allocations: 198.9 kB / 0.6574 GB, free: 10.99 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.2118, allocations: 357.9 kB / 0.6578 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.2134, allocations: 0.6858 MB / 0.6584 GB, free: 9.953 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.215, allocations: 0.8258 MB / 0.6592 GB, free: 9.098 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002967/0.2179, allocations: 1.493 MB / 0.6607 GB, free: 7.578 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.218, allocations: 0 / 0.6607 GB, free: 7.578 MB / 478.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01403/0.232, allocations: 4.363 MB / 0.6649 GB, free: 3.199 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.232, allocations: 4 kB / 0.665 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.2321, allocations: 4 kB / 0.665 GB, free: 3.191 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00664/0.2387, allocations: 1.897 MB / 0.6668 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008853/0.2396, allocations: 175.7 kB / 0.667 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02327/0.2629, allocations: 9.973 MB / 0.6767 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.2643, allocations: 155.2 kB / 0.6769 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.682e-05/0.2645, allocations: 47.98 kB / 0.6769 GB, free: 6.797 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.0004282/0.2649, allocations: 221.7 kB / 0.6771 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.2651, allocations: 115.2 kB / 0.6772 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/0.2785, allocations: 4.053 MB / 0.6812 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.2786, allocations: 8 kB / 0.6812 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2786, allocations: 0 / 0.6812 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.2786, allocations: 3.984 kB / 0.6812 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.2936, allocations: 5.637 MB / 0.6867 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.2936, allocations: 0 / 0.6867 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000608/0.2942, allocations: 91.84 kB / 0.6868 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0062/0.3004, allocations: 1.839 MB / 0.6886 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/0.3006, allocations: 16 kB / 0.6886 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02009/0.3207, allocations: 8.644 MB / 0.697 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3208, allocations: 0 / 0.697 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/0.3361, allocations: 4.98 MB / 0.7019 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/0.3365, allocations: 204.1 kB / 0.7021 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.3367, allocations: 16 kB / 0.7021 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009937/0.3377, allocations: 91.89 kB / 0.7022 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006063/0.3383, allocations: 208.7 kB / 0.7024 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.446e-05/0.3384, allocations: 20.12 kB / 0.7024 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006898/0.3391, allocations: 0.5667 MB / 0.703 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3391, allocations: 3.938 kB / 0.703 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001228/0.3403, allocations: 443.7 kB / 0.7034 GB, free: 11.29 MB / 0.5137 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.01535/0.3557, allocations: 5.542 MB / 0.7088 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006673/0.3624, allocations: 2.447 MB / 0.7112 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3624, allocations: 0 / 0.7112 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004717/0.3671, allocations: 1.577 MB / 0.7127 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008064/0.368, allocations: 87.42 kB / 0.7128 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.311/0.679, allocations: 15.19 MB / 0.7277 GB, free: 84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/0.6796, allocations: 1.058 MB / 0.7287 GB, free: 83.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004225/0.68, allocations: 87.14 kB / 0.7288 GB, free: 83.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/0.6805, allocations: 400.3 kB / 0.7292 GB, free: 82.96 MB / 0.5137 GB Notification: Performance of SimCode: time 1.453e-06/0.6805, allocations: 0 / 0.7292 GB, free: 82.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05783/0.7384, allocations: 33.43 MB / 0.7618 GB, free: 57.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/16.67, allocations: 3.25 kB / 0.7618 GB, free: 57.92 MB / 0.5137 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)