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.0007281/0.0007281, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.173/1.173, allocations: 223.3 MB / 239.4 MB, free: 5.473 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.000878/0.0008783, allocations: 172.5 kB / 290.6 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4019/0.4019, allocations: 78.55 MB / 420.3 MB, free: 4.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003184, allocations: 12 kB / 0.4888 GB, free: 5.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1088, allocations: 69.36 MB / 0.5565 GB, free: 472 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.1858/0.2946, allocations: 5.925 MB / 0.5623 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.2974, allocations: 1.826 MB / 0.5641 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007035/0.2981, allocations: 11.88 kB / 0.5641 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.2986, allocations: 168.2 kB / 0.5642 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.3001, allocations: 0.6116 MB / 0.5648 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009634/0.3011, allocations: 0.5348 MB / 0.5653 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.3021, allocations: 1.275 MB / 0.5666 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.3025, allocations: 248.8 kB / 0.5668 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005694/0.3031, allocations: 0.4888 MB / 0.5673 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005881/0.3036, allocations: 0.6353 MB / 0.5679 GB, free: 34.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.3038, allocations: 53.84 kB / 0.568 GB, free: 34.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/0.3041, allocations: 186.7 kB / 0.5682 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.3043, allocations: 206.9 kB / 0.5684 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003059/0.3046, allocations: 0.549 MB / 0.5689 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008182/0.3054, allocations: 1.36 MB / 0.5702 GB, free: 33.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3054, allocations: 0 / 0.5702 GB, free: 33.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3054, allocations: 0 / 0.5702 GB, free: 33.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.3055, allocations: 0 / 0.5702 GB, free: 33.82 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.006292/0.3118, allocations: 2.292 MB / 0.5725 GB, free: 33.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.3118, allocations: 8.719 kB / 0.5725 GB, free: 33.01 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.3119, allocations: 121.3 kB / 0.5726 GB, free: 32.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004409/0.3163, allocations: 0.773 MB / 0.5733 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007077/0.3171, allocations: 0.736 MB / 0.5741 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/0.3173, allocations: 261.9 kB / 0.5743 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.3174, allocations: 80.98 kB / 0.5744 GB, free: 32.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.3192, allocations: 1.161 MB / 0.5755 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.3192, allocations: 0 / 0.5755 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.989e-05/0.3193, allocations: 24.75 kB / 0.5755 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.3193, allocations: 20.91 kB / 0.5756 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.3213, allocations: 1.122 MB / 0.5767 GB, free: 32.19 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.003901/0.3252, allocations: 3.13 MB / 0.5797 GB, free: 31.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.3279, allocations: 1.713 MB / 0.5814 GB, free: 30.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.3292, allocations: 0.8323 MB / 0.5822 GB, free: 30.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.042e-05/0.3293, allocations: 20.64 kB / 0.5822 GB, free: 30.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.3293, allocations: 39.12 kB / 0.5823 GB, free: 30.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 1.873e-06/0.3293, allocations: 0 / 0.5823 GB, free: 30.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03021/0.3595, allocations: 9.255 MB / 0.5913 GB, free: 28.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.3595, allocations: 61.66 kB / 0.5914 GB, free: 28.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008927/0.3604, allocations: 0.8375 MB / 0.5922 GB, free: 28.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.448e-05/0.3605, allocations: 41.48 kB / 0.5922 GB, free: 28.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.3608, allocations: 457.6 kB / 0.5926 GB, free: 27.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.361, allocations: 328.5 kB / 0.593 GB, free: 27.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.3611, allocations: 102.7 kB / 0.5931 GB, free: 27.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.3612, allocations: 358.5 kB / 0.5934 GB, free: 27.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.3628, allocations: 0.7634 MB / 0.5941 GB, free: 26.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.3643, allocations: 0.8931 MB / 0.595 GB, free: 26.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002983/0.3673, allocations: 1.646 MB / 0.5966 GB, free: 25.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3673, allocations: 0 / 0.5966 GB, free: 25.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0149/0.3822, allocations: 5.313 MB / 0.6018 GB, free: 24.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3822, allocations: 5.625 kB / 0.6018 GB, free: 24.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3823, allocations: 6.094 kB / 0.6018 GB, free: 24.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00682/0.3891, allocations: 2.226 MB / 0.604 GB, free: 24.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007478/0.3898, allocations: 185.3 kB / 0.6042 GB, free: 24.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/0.4113, allocations: 10.28 MB / 0.6142 GB, free: 18.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.4125, allocations: 199.4 kB / 0.6144 GB, free: 18.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.926e-05/0.4126, allocations: 38.67 kB / 0.6144 GB, free: 18 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.000327/0.4129, allocations: 234.5 kB / 0.6147 GB, free: 17.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.4131, allocations: 115 kB / 0.6148 GB, free: 17.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/0.4258, allocations: 5.014 MB / 0.6197 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.4258, allocations: 8 kB / 0.6197 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.4258, allocations: 0 / 0.6197 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.4259, allocations: 5.719 kB / 0.6197 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.4397, allocations: 6.591 MB / 0.6261 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4398, allocations: 0 / 0.6261 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/0.4402, allocations: 91.84 kB / 0.6262 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005637/0.4458, allocations: 2.165 MB / 0.6283 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.247e-05/0.4459, allocations: 16 kB / 0.6283 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01818/0.4641, allocations: 8.849 MB / 0.637 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4641, allocations: 0 / 0.637 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01584/0.48, allocations: 5.989 MB / 0.6428 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.4801, allocations: 195.6 kB / 0.643 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.4803, allocations: 20.98 kB / 0.643 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009641/0.4812, allocations: 133.2 kB / 0.6432 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004626/0.4817, allocations: 196.6 kB / 0.6434 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.447e-05/0.4818, allocations: 24 kB / 0.6434 GB, free: 4.082 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006013/0.4824, allocations: 0.5628 MB / 0.6439 GB, free: 3.508 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4824, allocations: 4 kB / 0.6439 GB, free: 3.504 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009519/0.4834, allocations: 443.6 kB / 0.6444 GB, free: 3.07 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.01638/0.4997, allocations: 6.561 MB / 0.6508 GB, free: 12.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006507/0.5063, allocations: 2.711 MB / 0.6534 GB, free: 9.758 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5063, allocations: 64 / 0.6534 GB, free: 9.758 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004629/0.5109, allocations: 1.769 MB / 0.6551 GB, free: 7.977 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005901/0.5115, allocations: 93.31 kB / 0.6552 GB, free: 7.883 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03921/0.5507, allocations: 18.08 MB / 0.6729 GB, free: 5.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.5513, allocations: 1.061 MB / 0.6739 GB, free: 4.41 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002588/0.5515, allocations: 85.78 kB / 0.674 GB, free: 4.324 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/0.552, allocations: 391.3 kB / 0.6744 GB, free: 3.945 MB / 478.1 MB Notification: Performance of SimCode: time 2.4e-07/0.552, allocations: 0 / 0.6744 GB, free: 3.945 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/0.5939, allocations: 29.91 MB / 0.7036 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.5941, allocations: 217.7 kB / 0.7038 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/2.849, allocations: 3.938 kB / 0.7038 GB, free: 6.109 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)