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.004784/0.004784, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.462/1.462, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001544/0.001544, allocations: 192.5 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5205/0.5205, allocations: 91.9 MB / 431.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 80.44 kB / 0.5723 GB, free: 33.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1111, allocations: 71.29 MB / 0.6419 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.007414/0.1185, allocations: 6.058 MB / 0.6478 GB, free: 14.01 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003486/0.122, allocations: 1.778 MB / 0.6495 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/0.1225, allocations: 8 kB / 0.6495 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.123, allocations: 222.1 kB / 0.6497 GB, free: 12 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.1247, allocations: 0.694 MB / 0.6504 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.126, allocations: 0.5767 MB / 0.651 GB, free: 10.74 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.1277, allocations: 1.335 MB / 0.6523 GB, free: 9.398 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004661/0.1281, allocations: 295.3 kB / 0.6526 GB, free: 9.098 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007483/0.1289, allocations: 0.5601 MB / 0.6531 GB, free: 8.535 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008192/0.1297, allocations: 0.6922 MB / 0.6538 GB, free: 7.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.1299, allocations: 96 kB / 0.6539 GB, free: 7.746 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.1303, allocations: 235.9 kB / 0.6541 GB, free: 7.516 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.1306, allocations: 266.8 kB / 0.6544 GB, free: 7.254 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005349/0.1311, allocations: 0.5786 MB / 0.6549 GB, free: 6.672 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.1328, allocations: 1.451 MB / 0.6564 GB, free: 5.215 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1328, allocations: 3.984 kB / 0.6564 GB, free: 5.211 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1328, allocations: 0 / 0.6564 GB, free: 5.211 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.428e-05/0.1329, allocations: 0 / 0.6564 GB, free: 5.211 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.008127/0.141, allocations: 2.488 MB / 0.6588 GB, free: 2.668 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1411, allocations: 12.03 kB / 0.6588 GB, free: 2.656 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001779/0.1412, allocations: 122.5 kB / 0.6589 GB, free: 2.527 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/0.1464, allocations: 0.7641 MB / 0.6597 GB, free: 1.762 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.1478, allocations: 0.7485 MB / 0.6604 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003241/0.1482, allocations: 252.2 kB / 0.6606 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.1483, allocations: 75.94 kB / 0.6607 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/0.1507, allocations: 1.083 MB / 0.6618 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.1508, allocations: 4 kB / 0.6618 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.76e-05/0.1509, allocations: 28 kB / 0.6618 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.1509, allocations: 20 kB / 0.6618 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.1532, allocations: 1.031 MB / 0.6628 GB, free: 14.43 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.005625/0.1589, allocations: 3.057 MB / 0.6658 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/0.1621, allocations: 1.559 MB / 0.6673 GB, free: 9.555 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.1637, allocations: 0.7579 MB / 0.6681 GB, free: 8.793 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-05/0.1638, allocations: 13 kB / 0.6681 GB, free: 8.781 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/0.1639, allocations: 47.5 kB / 0.6681 GB, free: 8.727 MB / 478.1 MB Notification: Performance of pre-optimization done (n=92): time 2.815e-06/0.1639, allocations: 0 / 0.6681 GB, free: 8.727 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.03205/0.1959, allocations: 7.484 MB / 0.6754 GB, free: 1.207 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.196, allocations: 60.41 kB / 0.6755 GB, free: 1.137 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.1972, allocations: 0.8359 MB / 0.6763 GB, free: 284 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.1974, allocations: 41.7 kB / 0.6763 GB, free: 236 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/0.1978, allocations: 461.1 kB / 0.6768 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004095/0.1982, allocations: 349 kB / 0.6771 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004173/0.1986, allocations: 198.9 kB / 0.6773 GB, free: 15.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000261/0.1989, allocations: 353.9 kB / 0.6776 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.2005, allocations: 0.6897 MB / 0.6783 GB, free: 14.19 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.2022, allocations: 0.818 MB / 0.6791 GB, free: 13.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003255/0.2055, allocations: 1.497 MB / 0.6806 GB, free: 11.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.2055, allocations: 0 / 0.6806 GB, free: 11.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01508/0.2206, allocations: 4.359 MB / 0.6848 GB, free: 7.438 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.2207, allocations: 8 kB / 0.6848 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.2207, allocations: 0 / 0.6848 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006926/0.2276, allocations: 1.901 MB / 0.6867 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.2287, allocations: 179.7 kB / 0.6869 GB, free: 5.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02532/0.254, allocations: 9.978 MB / 0.6966 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.2556, allocations: 159.2 kB / 0.6968 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.2558, allocations: 43.98 kB / 0.6968 GB, free: 11.02 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.0004827/0.2562, allocations: 226.1 kB / 0.697 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.2565, allocations: 111.3 kB / 0.6971 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/0.2705, allocations: 4.061 MB / 0.7011 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.2705, allocations: 8 kB / 0.7011 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.2705, allocations: 0 / 0.7011 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.2706, allocations: 7.984 kB / 0.7011 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/0.2864, allocations: 5.629 MB / 0.7066 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.2865, allocations: 0 / 0.7066 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005541/0.287, allocations: 99.83 kB / 0.7067 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006387/0.2934, allocations: 1.831 MB / 0.7085 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-05/0.2935, allocations: 19.94 kB / 0.7085 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02084/0.3144, allocations: 8.655 MB / 0.717 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3144, allocations: 3.938 kB / 0.717 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/0.3302, allocations: 4.964 MB / 0.7218 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.3306, allocations: 208.1 kB / 0.722 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.3307, allocations: 20 kB / 0.722 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009881/0.3317, allocations: 87.89 kB / 0.7221 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006354/0.3324, allocations: 200.7 kB / 0.7223 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.499e-05/0.3325, allocations: 23.98 kB / 0.7223 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000775/0.3332, allocations: 0.5667 MB / 0.7229 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3332, allocations: 4 kB / 0.7229 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0012/0.3345, allocations: 431.7 kB / 0.7233 GB, free: 15.52 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.01626/0.3507, allocations: 5.55 MB / 0.7287 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006983/0.3577, allocations: 2.447 MB / 0.7311 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3578, allocations: 0.5 kB / 0.7311 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004809/0.3626, allocations: 1.581 MB / 0.7327 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007633/0.3634, allocations: 83.44 kB / 0.7327 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03965/0.403, allocations: 15.2 MB / 0.7476 GB, free: 6.414 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008176/0.4039, allocations: 1.057 MB / 0.7486 GB, free: 5.332 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003721/0.4043, allocations: 86.77 kB / 0.7487 GB, free: 5.242 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005746/0.4048, allocations: 399.3 kB / 0.7491 GB, free: 4.855 MB / 0.545 GB Notification: Performance of SimCode: time 8.52e-07/0.4049, allocations: 0 / 0.7491 GB, free: 4.855 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3198/0.7247, allocations: 33.43 MB / 0.7817 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.4/18.13, allocations: 11.66 kB / 0.7817 GB, free: 116.7 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)