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.001177/0.001177, allocations: 108 kB / 15.6 MB, free: 132 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.341/1.341, 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.001474/0.001474, allocations: 188.5 kB / 289.6 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4711/0.4711, allocations: 78.54 MB / 418.3 MB, free: 3.133 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 75.88 kB / 497.6 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1465, allocations: 68.18 MB / 0.5525 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.2548/0.4013, allocations: 6.026 MB / 0.5584 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004759/0.4061, allocations: 1.778 MB / 0.5601 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.4077, allocations: 10.41 kB / 0.5601 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009455/0.4087, allocations: 216.5 kB / 0.5603 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003366/0.4121, allocations: 0.7022 MB / 0.561 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.4137, allocations: 0.5723 MB / 0.5616 GB, free: 35.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002124/0.4158, allocations: 1.325 MB / 0.5629 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005956/0.4164, allocations: 289.8 kB / 0.5631 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.4174, allocations: 0.5604 MB / 0.5637 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.4185, allocations: 0.6947 MB / 0.5644 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.4187, allocations: 94.75 kB / 0.5645 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005249/0.4192, allocations: 236.9 kB / 0.5647 GB, free: 35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.4194, allocations: 262.4 kB / 0.5649 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004804/0.4199, allocations: 0.5749 MB / 0.5655 GB, free: 34.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.4211, allocations: 1.425 MB / 0.5669 GB, free: 34.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.056e-06/0.4212, allocations: 4.781 kB / 0.5669 GB, free: 34.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4212, allocations: 0.6875 kB / 0.5669 GB, free: 34.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.4212, allocations: 0 / 0.5669 GB, free: 34.37 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.007251/0.4285, allocations: 2.448 MB / 0.5693 GB, free: 33.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.4285, allocations: 10.91 kB / 0.5693 GB, free: 33.53 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.4287, allocations: 118 kB / 0.5694 GB, free: 33.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004739/0.4334, allocations: 0.7736 MB / 0.5702 GB, free: 33.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.4345, allocations: 0.7363 MB / 0.5709 GB, free: 33.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/0.4347, allocations: 247.7 kB / 0.5711 GB, free: 32.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.4349, allocations: 76.34 kB / 0.5712 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/0.4368, allocations: 1.086 MB / 0.5722 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.4369, allocations: 0 / 0.5722 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.938e-05/0.437, allocations: 29.62 kB / 0.5723 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.437, allocations: 16.12 kB / 0.5723 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.439, allocations: 1.041 MB / 0.5733 GB, free: 32.74 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.004541/0.4435, allocations: 3.065 MB / 0.5763 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/0.4461, allocations: 1.574 MB / 0.5778 GB, free: 31.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.4474, allocations: 0.7523 MB / 0.5786 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.222e-05/0.4475, allocations: 17.28 kB / 0.5786 GB, free: 30.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.4476, allocations: 46.22 kB / 0.5786 GB, free: 30.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.476e-06/0.4476, allocations: 0 / 0.5786 GB, free: 30.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.0293/0.4769, allocations: 7.474 MB / 0.5859 GB, free: 29.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.477, allocations: 61.78 kB / 0.586 GB, free: 29.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.4784, allocations: 0.84 MB / 0.5868 GB, free: 29.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002319/0.4786, allocations: 41.42 kB / 0.5868 GB, free: 28.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.4789, allocations: 454.3 kB / 0.5873 GB, free: 28.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/0.4793, allocations: 329 kB / 0.5876 GB, free: 28.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003987/0.4797, allocations: 198.9 kB / 0.5878 GB, free: 28.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.4798, allocations: 353.7 kB / 0.5881 GB, free: 27.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.4814, allocations: 0.6906 MB / 0.5888 GB, free: 27.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.4832, allocations: 0.8191 MB / 0.5896 GB, free: 27.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003322/0.4865, allocations: 1.498 MB / 0.5911 GB, free: 26.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.4865, allocations: 0 / 0.5911 GB, free: 26.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01528/0.5018, allocations: 4.361 MB / 0.5953 GB, free: 25.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.5019, allocations: 5.984 kB / 0.5953 GB, free: 25.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.5019, allocations: 2.094 kB / 0.5953 GB, free: 25.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00707/0.509, allocations: 1.901 MB / 0.5972 GB, free: 25.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009975/0.51, allocations: 175.5 kB / 0.5973 GB, free: 25.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02494/0.535, allocations: 9.973 MB / 0.6071 GB, free: 20.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.5367, allocations: 155.8 kB / 0.6072 GB, free: 20.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002667/0.537, allocations: 46.86 kB / 0.6073 GB, free: 20.36 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.0006838/0.5377, allocations: 227.1 kB / 0.6075 GB, free: 20.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003777/0.5381, allocations: 108.1 kB / 0.6076 GB, free: 20.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/0.5513, allocations: 4.058 MB / 0.6116 GB, free: 18.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.5514, allocations: 8.594 kB / 0.6116 GB, free: 18.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.5514, allocations: 1.344 kB / 0.6116 GB, free: 18.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.599e-05/0.5514, allocations: 4.672 kB / 0.6116 GB, free: 18.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/0.5661, allocations: 5.643 MB / 0.6171 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/0.5662, allocations: 0 / 0.6171 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000649/0.5668, allocations: 83.91 kB / 0.6172 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005745/0.5726, allocations: 1.836 MB / 0.619 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002179/0.5729, allocations: 21.84 kB / 0.619 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01888/0.5918, allocations: 8.645 MB / 0.6274 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.5918, allocations: 4 kB / 0.6274 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/0.6071, allocations: 4.965 MB / 0.6323 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004709/0.6076, allocations: 191.6 kB / 0.6325 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003664/0.608, allocations: 17.19 kB / 0.6325 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.6092, allocations: 95.89 kB / 0.6326 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007059/0.6099, allocations: 200.7 kB / 0.6328 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.6101, allocations: 23.98 kB / 0.6328 GB, free: 12.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008394/0.6109, allocations: 0.5674 MB / 0.6333 GB, free: 11.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6109, allocations: 3.938 kB / 0.6333 GB, free: 11.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001668/0.6126, allocations: 439.6 kB / 0.6338 GB, free: 11.21 MB / 446.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.01584/0.6284, allocations: 5.541 MB / 0.6392 GB, free: 5.621 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007686/0.6362, allocations: 2.467 MB / 0.6416 GB, free: 3.156 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.6362, allocations: 0 / 0.6416 GB, free: 3.156 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00504/0.6413, allocations: 1.576 MB / 0.6431 GB, free: 1.566 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.6425, allocations: 85.62 kB / 0.6432 GB, free: 1.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04048/0.683, allocations: 15.66 MB / 0.6585 GB, free: 1.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008217/0.6839, allocations: 1.053 MB / 0.6595 GB, free: 432 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004547/0.6844, allocations: 84.14 kB / 0.6596 GB, free: 344 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/0.685, allocations: 395.3 kB / 0.66 GB, free: 15.95 MB / 478.1 MB Notification: Performance of SimCode: time 6.92e-07/0.685, allocations: 0 / 0.66 GB, free: 15.95 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06745/0.7525, allocations: 33.04 MB / 0.6922 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.58, allocations: 18.62 kB / 0.6923 GB, free: 15.19 MB / 0.4981 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)