Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_dev_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.007427/0.007427, allocations: 97 kB / 15.73 MB, free: 5.949 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.365/1.365, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001429/0.001429, allocations: 184.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5065/0.5065, allocations: 91.92 MB / 431.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 84.55 kB / 0.5723 GB, free: 33.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1142, allocations: 71.29 MB / 0.6419 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.006438/0.1207, allocations: 6.046 MB / 0.6478 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003466/0.1242, allocations: 1.79 MB / 0.6495 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007814/0.125, allocations: 8 kB / 0.6495 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006536/0.1257, allocations: 214.2 kB / 0.6497 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002312/0.128, allocations: 0.7439 MB / 0.6505 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.1295, allocations: 0.5838 MB / 0.651 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.1314, allocations: 1.335 MB / 0.6523 GB, free: 9.223 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005343/0.1319, allocations: 295.3 kB / 0.6526 GB, free: 8.922 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000888/0.1328, allocations: 0.5601 MB / 0.6532 GB, free: 8.359 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000958/0.1338, allocations: 0.6961 MB / 0.6539 GB, free: 7.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002614/0.134, allocations: 100 kB / 0.654 GB, free: 7.562 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005774/0.1346, allocations: 227.9 kB / 0.6542 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.1349, allocations: 270.8 kB / 0.6544 GB, free: 7.074 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007097/0.1356, allocations: 0.5748 MB / 0.655 GB, free: 6.496 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.1373, allocations: 1.443 MB / 0.6564 GB, free: 5.047 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1373, allocations: 4 kB / 0.6564 GB, free: 5.043 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1374, allocations: 4 kB / 0.6564 GB, free: 5.039 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.217e-05/0.1374, allocations: 0 / 0.6564 GB, free: 5.039 MB / 462.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.007766/0.1452, allocations: 2.484 MB / 0.6588 GB, free: 2.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1452, allocations: 12.03 kB / 0.6588 GB, free: 2.488 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001885/0.1454, allocations: 122.5 kB / 0.659 GB, free: 2.359 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004859/0.1503, allocations: 0.768 MB / 0.6597 GB, free: 1.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.1516, allocations: 0.7485 MB / 0.6604 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002637/0.1519, allocations: 256.2 kB / 0.6607 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.1521, allocations: 75.94 kB / 0.6608 GB, free: 448 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.1542, allocations: 1.075 MB / 0.6618 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.1542, allocations: 3.938 kB / 0.6618 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.377e-05/0.1543, allocations: 32 kB / 0.6618 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.1543, allocations: 16 kB / 0.6619 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.1565, allocations: 1.046 MB / 0.6629 GB, free: 14.25 MB / 478.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.004922/0.1614, allocations: 3.05 MB / 0.6659 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/0.1642, allocations: 1.567 MB / 0.6674 GB, free: 9.371 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.1657, allocations: 0.754 MB / 0.6681 GB, free: 8.613 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.1658, allocations: 16.98 kB / 0.6681 GB, free: 8.598 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1658, allocations: 47.55 kB / 0.6682 GB, free: 8.543 MB / 478.1 MB Notification: Performance of pre-optimization done (n=92): time 3.006e-06/0.1659, allocations: 0 / 0.6682 GB, free: 8.543 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.0284/0.1943, allocations: 7.48 MB / 0.6755 GB, free: 1.027 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.1943, allocations: 60.41 kB / 0.6755 GB, free: 0.957 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.1954, allocations: 0.8359 MB / 0.6764 GB, free: 100 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001932/0.1956, allocations: 41.7 kB / 0.6764 GB, free: 52 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.1959, allocations: 461.1 kB / 0.6768 GB, free: 15.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/0.1963, allocations: 349 kB / 0.6772 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003741/0.1967, allocations: 198.9 kB / 0.6774 GB, free: 15.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1968, allocations: 357.9 kB / 0.6777 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.1983, allocations: 0.6897 MB / 0.6784 GB, free: 14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.1998, allocations: 0.8181 MB / 0.6792 GB, free: 13.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002948/0.2028, allocations: 1.497 MB / 0.6806 GB, free: 11.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.2028, allocations: 0 / 0.6806 GB, free: 11.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01359/0.2164, allocations: 4.359 MB / 0.6849 GB, free: 7.254 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.2164, allocations: 5.094 kB / 0.6849 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.2165, allocations: 4 kB / 0.6849 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006445/0.2229, allocations: 1.897 MB / 0.6868 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008577/0.2238, allocations: 171.8 kB / 0.6869 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02303/0.2468, allocations: 9.974 MB / 0.6967 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.2483, allocations: 167.2 kB / 0.6968 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.2484, allocations: 39.98 kB / 0.6969 GB, free: 10.84 MB / 0.4981 GB 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.0004498/0.2489, allocations: 230 kB / 0.6971 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.2491, allocations: 111.3 kB / 0.6972 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/0.2622, allocations: 4.053 MB / 0.7011 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.2623, allocations: 12 kB / 0.7012 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2623, allocations: 4 kB / 0.7012 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.876e-05/0.2623, allocations: 3.984 kB / 0.7012 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/0.2776, allocations: 5.64 MB / 0.7067 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.2776, allocations: 0 / 0.7067 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/0.2782, allocations: 87.91 kB / 0.7068 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006241/0.2845, allocations: 1.839 MB / 0.7085 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/0.2847, allocations: 16 kB / 0.7086 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02034/0.305, allocations: 8.643 MB / 0.717 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3051, allocations: 3.938 kB / 0.717 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/0.3201, allocations: 4.972 MB / 0.7219 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/0.3205, allocations: 204.1 kB / 0.7221 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/0.3207, allocations: 16 kB / 0.7221 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.3218, allocations: 95.89 kB / 0.7222 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006141/0.3224, allocations: 204.7 kB / 0.7224 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.883e-05/0.3225, allocations: 20 kB / 0.7224 GB, free: 360 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007787/0.3233, allocations: 0.5667 MB / 0.7229 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3233, allocations: 0 / 0.7229 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00143/0.3248, allocations: 439.7 kB / 0.7234 GB, free: 15.34 MB / 0.5294 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.01541/0.3402, allocations: 5.542 MB / 0.7288 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006774/0.347, allocations: 2.461 MB / 0.7312 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.347, allocations: 4 kB / 0.7312 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004793/0.3518, allocations: 1.57 MB / 0.7327 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009312/0.3528, allocations: 83.42 kB / 0.7328 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03918/0.392, allocations: 15.2 MB / 0.7476 GB, free: 6.238 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006428/0.3927, allocations: 1.053 MB / 0.7487 GB, free: 5.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003599/0.393, allocations: 82.77 kB / 0.7487 GB, free: 5.074 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/0.3936, allocations: 399.3 kB / 0.7491 GB, free: 4.688 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.3936, allocations: 0 / 0.7491 GB, free: 4.688 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3228/0.7164, allocations: 33.44 MB / 0.7818 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.88/16.59, allocations: 3.188 kB / 0.7818 GB, free: 117.5 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)