Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_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.005628/0.005628, allocations: 101 kB / 15.73 MB, free: 6.059 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.443/1.443, allocations: 222.9 MB / 239.4 MB, free: 4.52 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.001559/0.001559, allocations: 184.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4719/0.4719, allocations: 78.54 MB / 418.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003521/0.003521, allocations: 84.08 kB / 0.5532 GB, free: 1.449 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3442, allocations: 68.16 MB / 0.6197 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005279/0.3495, allocations: 6.05 MB / 0.6256 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00361/0.3531, allocations: 1.77 MB / 0.6274 GB, free: 2.336 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.3542, allocations: 15.94 kB / 0.6274 GB, free: 2.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006037/0.3548, allocations: 214.2 kB / 0.6276 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.3569, allocations: 0.7065 MB / 0.6283 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.3581, allocations: 0.5654 MB / 0.6288 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.3598, allocations: 1.335 MB / 0.6301 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005239/0.3603, allocations: 295.3 kB / 0.6304 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008281/0.3612, allocations: 0.5562 MB / 0.6309 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000874/0.362, allocations: 0.6961 MB / 0.6316 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.3622, allocations: 96 kB / 0.6317 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005352/0.3628, allocations: 227.9 kB / 0.6319 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.363, allocations: 266.8 kB / 0.6322 GB, free: 13.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006099/0.3637, allocations: 0.5825 MB / 0.6328 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.3656, allocations: 1.456 MB / 0.6342 GB, free: 11.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3656, allocations: 0 / 0.6342 GB, free: 11.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3656, allocations: 0 / 0.6342 GB, free: 11.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.749e-05/0.3656, allocations: 0 / 0.6342 GB, free: 11.33 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.008482/0.3741, allocations: 2.488 MB / 0.6366 GB, free: 8.785 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.3742, allocations: 8.031 kB / 0.6366 GB, free: 8.777 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.3744, allocations: 118.5 kB / 0.6367 GB, free: 8.652 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005208/0.3796, allocations: 0.7758 MB / 0.6375 GB, free: 7.871 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.3813, allocations: 0.7524 MB / 0.6382 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003289/0.3816, allocations: 248.2 kB / 0.6385 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.3818, allocations: 75.94 kB / 0.6385 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/0.3843, allocations: 1.083 MB / 0.6396 GB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.3843, allocations: 4 kB / 0.6396 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.65e-05/0.3844, allocations: 32 kB / 0.6396 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.3844, allocations: 19.94 kB / 0.6396 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.3869, allocations: 1.031 MB / 0.6406 GB, free: 4.543 MB / 446.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.005844/0.3927, allocations: 3.05 MB / 0.6436 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003373/0.3961, allocations: 1.569 MB / 0.6452 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.3978, allocations: 0.7541 MB / 0.6459 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.3979, allocations: 12.98 kB / 0.6459 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.398, allocations: 51.48 kB / 0.646 GB, free: 14.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 2.555e-06/0.398, allocations: 4 kB / 0.646 GB, free: 14.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.03213/0.4301, allocations: 7.477 MB / 0.6533 GB, free: 7.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.4302, allocations: 64.41 kB / 0.6533 GB, free: 7.246 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.4317, allocations: 0.8398 MB / 0.6541 GB, free: 6.383 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002527/0.4319, allocations: 41.7 kB / 0.6542 GB, free: 6.336 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/0.4324, allocations: 461.1 kB / 0.6546 GB, free: 5.879 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004393/0.4328, allocations: 353 kB / 0.655 GB, free: 5.531 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004185/0.4333, allocations: 194.9 kB / 0.6551 GB, free: 5.332 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4334, allocations: 357.9 kB / 0.6555 GB, free: 4.977 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.4351, allocations: 0.6858 MB / 0.6562 GB, free: 4.293 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.4369, allocations: 0.8258 MB / 0.657 GB, free: 3.438 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003365/0.4402, allocations: 1.493 MB / 0.6584 GB, free: 1.918 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.4403, allocations: 4 kB / 0.6584 GB, free: 1.914 MB / 462.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01534/0.4556, allocations: 4.359 MB / 0.6627 GB, free: 13.54 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.4557, allocations: 4 kB / 0.6627 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.4557, allocations: 4 kB / 0.6627 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007297/0.463, allocations: 1.889 MB / 0.6645 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009662/0.464, allocations: 179.7 kB / 0.6647 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02615/0.4902, allocations: 9.972 MB / 0.6744 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.4918, allocations: 167.2 kB / 0.6746 GB, free: 1.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.4919, allocations: 35.98 kB / 0.6746 GB, free: 1.141 MB / 478.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.0004679/0.4924, allocations: 237.6 kB / 0.6749 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/0.4926, allocations: 111.3 kB / 0.675 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0147/0.5073, allocations: 4.049 MB / 0.6789 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/0.5074, allocations: 12 kB / 0.6789 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5074, allocations: 3.938 kB / 0.6789 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-05/0.5075, allocations: 3.984 kB / 0.6789 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01671/0.5242, allocations: 5.633 MB / 0.6844 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.5242, allocations: 0 / 0.6844 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.5249, allocations: 95.83 kB / 0.6845 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006637/0.5315, allocations: 1.839 MB / 0.6863 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002208/0.5318, allocations: 20 kB / 0.6864 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02238/0.5542, allocations: 8.644 MB / 0.6948 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.5542, allocations: 0 / 0.6948 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01654/0.5708, allocations: 4.968 MB / 0.6996 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000419/0.5712, allocations: 200.2 kB / 0.6998 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/0.5714, allocations: 20 kB / 0.6999 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.5725, allocations: 87.89 kB / 0.6999 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006922/0.5732, allocations: 204.7 kB / 0.7001 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.859e-05/0.5733, allocations: 24 kB / 0.7002 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008055/0.5741, allocations: 0.5706 MB / 0.7007 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5741, allocations: 0 / 0.7007 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001314/0.5754, allocations: 435.7 kB / 0.7011 GB, free: 5.648 MB / 0.4981 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.01696/0.5924, allocations: 5.538 MB / 0.7065 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007605/0.6, allocations: 2.469 MB / 0.7089 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6001, allocations: 0.5 kB / 0.7089 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005213/0.6053, allocations: 1.577 MB / 0.7105 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009201/0.6063, allocations: 91.36 kB / 0.7106 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0423/0.6486, allocations: 15.18 MB / 0.7254 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008/0.6494, allocations: 1.053 MB / 0.7264 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004682/0.6499, allocations: 86.77 kB / 0.7265 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005872/0.6505, allocations: 395.3 kB / 0.7269 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of SimCode: time 8.02e-07/0.6505, allocations: 0 / 0.7269 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08067/0.7312, allocations: 33.44 MB / 0.7595 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.32/18.05, allocations: 3.75 kB / 0.7595 GB, free: 9.629 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)