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.001223/0.001223, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 239.3 MB, free: 4.598 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.001647/0.001647, allocations: 188.5 kB / 289.5 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5658/0.5658, allocations: 91.9 MB / 431.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 75.89 kB / 0.502 GB, free: 7.656 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4063, allocations: 71.26 MB / 0.5716 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005512/0.4119, allocations: 6.059 MB / 0.5775 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003548/0.4155, allocations: 1.799 MB / 0.5792 GB, free: 31.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006905/0.4162, allocations: 12.12 kB / 0.5793 GB, free: 31.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000524/0.4167, allocations: 208.5 kB / 0.5795 GB, free: 31.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.4183, allocations: 0.6933 MB / 0.5801 GB, free: 31.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.4195, allocations: 0.574 MB / 0.5807 GB, free: 31.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.4206, allocations: 1.325 MB / 0.582 GB, free: 30.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003847/0.421, allocations: 302 kB / 0.5823 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006257/0.4217, allocations: 0.5558 MB / 0.5828 GB, free: 30 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005774/0.4223, allocations: 0.687 MB / 0.5835 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.4224, allocations: 103.5 kB / 0.5836 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.4229, allocations: 232.5 kB / 0.5838 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.423, allocations: 263.9 kB / 0.5841 GB, free: 29.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.4234, allocations: 0.5777 MB / 0.5846 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.4246, allocations: 1.423 MB / 0.586 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.4246, allocations: 9.719 kB / 0.586 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4246, allocations: 0 / 0.586 GB, free: 28.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.4247, allocations: 0 / 0.586 GB, free: 28.39 MB / 430.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.007834/0.4325, allocations: 2.444 MB / 0.5884 GB, free: 27.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.4326, allocations: 8.594 kB / 0.5884 GB, free: 27.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.4327, allocations: 123.1 kB / 0.5885 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005045/0.4378, allocations: 0.7686 MB / 0.5893 GB, free: 27.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.4391, allocations: 0.7411 MB / 0.59 GB, free: 26.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002558/0.4394, allocations: 246.5 kB / 0.5902 GB, free: 26.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.4396, allocations: 84.14 kB / 0.5903 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.4418, allocations: 1.088 MB / 0.5914 GB, free: 25.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.4418, allocations: 0 / 0.5914 GB, free: 25.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-05/0.4419, allocations: 26.91 kB / 0.5914 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.442, allocations: 17 kB / 0.5914 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.4442, allocations: 1.028 MB / 0.5924 GB, free: 25.5 MB / 430.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.005284/0.4495, allocations: 3.075 MB / 0.5954 GB, free: 23.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.4525, allocations: 1.562 MB / 0.597 GB, free: 22.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.4542, allocations: 0.7545 MB / 0.5977 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.4543, allocations: 15.42 kB / 0.5977 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.4543, allocations: 43.89 kB / 0.5978 GB, free: 22.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.827e-06/0.4543, allocations: 0 / 0.5978 GB, free: 22.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03168/0.486, allocations: 7.478 MB / 0.6051 GB, free: 21.13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.4861, allocations: 61.39 kB / 0.6051 GB, free: 21.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.4875, allocations: 0.8483 MB / 0.6059 GB, free: 20.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002724/0.4877, allocations: 41.36 kB / 0.606 GB, free: 20.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.4881, allocations: 450.2 kB / 0.6064 GB, free: 20.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.4884, allocations: 331.9 kB / 0.6067 GB, free: 20.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004262/0.4888, allocations: 199.5 kB / 0.6069 GB, free: 19.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.4889, allocations: 353.2 kB / 0.6073 GB, free: 19.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.4904, allocations: 0.6909 MB / 0.6079 GB, free: 19.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.4921, allocations: 0.8195 MB / 0.6087 GB, free: 19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003124/0.4952, allocations: 1.501 MB / 0.6102 GB, free: 18.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.4953, allocations: 5.625 kB / 0.6102 GB, free: 18.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01514/0.5104, allocations: 4.349 MB / 0.6145 GB, free: 16.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.5105, allocations: 6.531 kB / 0.6145 GB, free: 16.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.5105, allocations: 2.938 kB / 0.6145 GB, free: 16.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006985/0.5175, allocations: 1.899 MB / 0.6163 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.5187, allocations: 175.6 kB / 0.6165 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02304/0.5418, allocations: 9.974 MB / 0.6262 GB, free: 6.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.5436, allocations: 159 kB / 0.6264 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/0.5439, allocations: 43.94 kB / 0.6264 GB, free: 5.859 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.000648/0.5445, allocations: 225.6 kB / 0.6266 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000398/0.5449, allocations: 106.7 kB / 0.6267 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.5577, allocations: 4.057 MB / 0.6307 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.5578, allocations: 8 kB / 0.6307 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5578, allocations: 0 / 0.6307 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.142e-05/0.5578, allocations: 7.984 kB / 0.6307 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/0.5742, allocations: 5.64 MB / 0.6362 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/0.5743, allocations: 0 / 0.6362 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006534/0.5749, allocations: 91.83 kB / 0.6363 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006543/0.5815, allocations: 1.839 MB / 0.6381 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002438/0.5818, allocations: 16 kB / 0.6381 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02199/0.6038, allocations: 8.642 MB / 0.6466 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.6038, allocations: 3.938 kB / 0.6466 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/0.6198, allocations: 4.966 MB / 0.6514 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/0.6203, allocations: 191.6 kB / 0.6516 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000427/0.6208, allocations: 16 kB / 0.6516 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.6221, allocations: 91.89 kB / 0.6517 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007422/0.6229, allocations: 208.7 kB / 0.6519 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.623, allocations: 20 kB / 0.6519 GB, free: 11.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009076/0.6239, allocations: 0.5628 MB / 0.6525 GB, free: 10.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.693e-06/0.6239, allocations: 0 / 0.6525 GB, free: 10.81 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001701/0.6256, allocations: 451.4 kB / 0.6529 GB, free: 10.37 MB / 462.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.01607/0.6417, allocations: 5.541 MB / 0.6583 GB, free: 4.793 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00785/0.6496, allocations: 2.467 MB / 0.6607 GB, free: 2.309 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6497, allocations: 0 / 0.6607 GB, free: 2.309 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00518/0.6549, allocations: 1.576 MB / 0.6623 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.6562, allocations: 79.44 kB / 0.6623 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04206/0.6983, allocations: 15.66 MB / 0.6776 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008598/0.6992, allocations: 1.053 MB / 0.6787 GB, free: 15.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005008/0.6997, allocations: 86.75 kB / 0.6787 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006331/0.7004, allocations: 395.3 kB / 0.6791 GB, free: 15.07 MB / 494.1 MB Notification: Performance of SimCode: time 1.212e-06/0.7004, allocations: 0 / 0.6791 GB, free: 15.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07022/0.7706, allocations: 33.04 MB / 0.7114 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.02, allocations: 7.312 kB / 0.7114 GB, free: 14.14 MB / 0.5137 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)