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.001433/0.001433, 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.307/1.307, allocations: 222.9 MB / 239.2 MB, free: 4.609 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.001374/0.001374, allocations: 196.5 kB / 289.6 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4492/0.4492, allocations: 78.53 MB / 418.2 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 75.88 kB / 497.6 MB, free: 6.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1169, allocations: 68.18 MB / 0.5525 GB, free: 2.082 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.2088/0.3258, allocations: 6.025 MB / 0.5584 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0028/0.3286, allocations: 1.784 MB / 0.5601 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003612/0.329, allocations: 10.34 kB / 0.5601 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004174/0.3294, allocations: 216.5 kB / 0.5603 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.3307, allocations: 0.6951 MB / 0.561 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.3318, allocations: 0.5732 MB / 0.5616 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009154/0.3327, allocations: 1.334 MB / 0.5629 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.333, allocations: 289.5 kB / 0.5631 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004486/0.3335, allocations: 0.5558 MB / 0.5637 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005448/0.334, allocations: 0.6902 MB / 0.5644 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.3342, allocations: 97.22 kB / 0.5645 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.3346, allocations: 231.9 kB / 0.5647 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.3347, allocations: 268.1 kB / 0.5649 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003468/0.3351, allocations: 0.5729 MB / 0.5655 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009739/0.3361, allocations: 1.433 MB / 0.5669 GB, free: 34.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3361, allocations: 2.188 kB / 0.5669 GB, free: 34.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3361, allocations: 0.8125 kB / 0.5669 GB, free: 34.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.3361, allocations: 0 / 0.5669 GB, free: 34.34 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.00684/0.3429, allocations: 2.449 MB / 0.5693 GB, free: 33.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.343, allocations: 9.219 kB / 0.5693 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.3431, allocations: 118.6 kB / 0.5694 GB, free: 33.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004439/0.3476, allocations: 0.7652 MB / 0.5702 GB, free: 33.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009021/0.3485, allocations: 0.7374 MB / 0.5709 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.3487, allocations: 249.2 kB / 0.5711 GB, free: 32.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.3488, allocations: 79.09 kB / 0.5712 GB, free: 32.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.3507, allocations: 1.091 MB / 0.5723 GB, free: 32.72 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3507, allocations: 0 / 0.5723 GB, free: 32.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/0.3508, allocations: 29.75 kB / 0.5723 GB, free: 32.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.3508, allocations: 19.86 kB / 0.5723 GB, free: 32.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.3527, allocations: 1.03 MB / 0.5733 GB, free: 32.71 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.004003/0.3567, allocations: 3.071 MB / 0.5763 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.3591, allocations: 1.565 MB / 0.5778 GB, free: 31.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.3604, allocations: 0.7562 MB / 0.5786 GB, free: 30.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-05/0.3604, allocations: 13.45 kB / 0.5786 GB, free: 30.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.3605, allocations: 50.86 kB / 0.5786 GB, free: 30.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.315e-06/0.3605, allocations: 0 / 0.5786 GB, free: 30.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.02796/0.3884, allocations: 7.468 MB / 0.5859 GB, free: 29.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.3885, allocations: 61.59 kB / 0.586 GB, free: 29.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.3897, allocations: 0.8413 MB / 0.5868 GB, free: 28.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001824/0.3899, allocations: 40.67 kB / 0.5868 GB, free: 28.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.3902, allocations: 457.9 kB / 0.5873 GB, free: 28.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.3905, allocations: 328.5 kB / 0.5876 GB, free: 28.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003663/0.3908, allocations: 199 kB / 0.5878 GB, free: 28.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.326e-05/0.3909, allocations: 355.2 kB / 0.5881 GB, free: 27.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.3924, allocations: 0.6891 MB / 0.5888 GB, free: 27.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.3939, allocations: 0.8258 MB / 0.5896 GB, free: 27.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/0.3968, allocations: 1.498 MB / 0.5911 GB, free: 26.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.3968, allocations: 1.719 kB / 0.5911 GB, free: 26.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01402/0.4108, allocations: 4.353 MB / 0.5953 GB, free: 25.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.4109, allocations: 6 kB / 0.5953 GB, free: 25.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.4109, allocations: 2.219 kB / 0.5953 GB, free: 25.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006554/0.4175, allocations: 1.903 MB / 0.5972 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009153/0.4184, allocations: 178.1 kB / 0.5974 GB, free: 25.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02231/0.4407, allocations: 9.975 MB / 0.6071 GB, free: 20.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.4423, allocations: 160.1 kB / 0.6072 GB, free: 20.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.52e-05/0.4424, allocations: 42.55 kB / 0.6073 GB, free: 20.41 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.0004016/0.4428, allocations: 223.1 kB / 0.6075 GB, free: 20.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.443, allocations: 111.3 kB / 0.6076 GB, free: 20.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/0.4553, allocations: 4.055 MB / 0.6116 GB, free: 18.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.4553, allocations: 11.69 kB / 0.6116 GB, free: 18.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4554, allocations: 0 / 0.6116 GB, free: 18.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/0.4554, allocations: 8.938 kB / 0.6116 GB, free: 18.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/0.4686, allocations: 5.632 MB / 0.6171 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.4687, allocations: 0 / 0.6171 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.4692, allocations: 95.83 kB / 0.6172 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005453/0.4746, allocations: 1.83 MB / 0.619 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.4748, allocations: 24 kB / 0.619 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01728/0.4921, allocations: 8.65 MB / 0.6274 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4921, allocations: 0 / 0.6274 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/0.5064, allocations: 4.958 MB / 0.6323 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004262/0.5068, allocations: 195.6 kB / 0.6325 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.507, allocations: 16 kB / 0.6325 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009704/0.508, allocations: 91.89 kB / 0.6326 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006235/0.5086, allocations: 204.7 kB / 0.6328 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.775e-05/0.5087, allocations: 22.33 kB / 0.6328 GB, free: 12.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006858/0.5094, allocations: 0.5706 MB / 0.6333 GB, free: 11.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5094, allocations: 3.938 kB / 0.6333 GB, free: 11.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001303/0.5107, 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.01523/0.5259, allocations: 5.538 MB / 0.6392 GB, free: 5.629 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006963/0.5329, allocations: 2.463 MB / 0.6416 GB, free: 3.164 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.533, allocations: 0 / 0.6416 GB, free: 3.164 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004644/0.5376, allocations: 1.582 MB / 0.6431 GB, free: 1.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007654/0.5384, allocations: 79.44 kB / 0.6432 GB, free: 1.488 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03661/0.575, allocations: 15.66 MB / 0.6585 GB, free: 1.508 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/0.5756, allocations: 1.057 MB / 0.6595 GB, free: 436 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003403/0.5759, allocations: 84.31 kB / 0.6596 GB, free: 348 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/0.5764, allocations: 395.3 kB / 0.66 GB, free: 15.95 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5764, allocations: 0 / 0.66 GB, free: 15.95 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05973/0.6361, allocations: 33.04 MB / 0.6922 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.71, allocations: 3.938 kB / 0.6922 GB, free: 15.2 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)