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.006904/0.006904, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.329/1.329, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001318/0.001318, allocations: 200.4 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4509/0.4509, allocations: 78.52 MB / 418.4 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 83.86 kB / 0.5531 GB, free: 1.492 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2914, allocations: 68.17 MB / 0.6197 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005337/0.2968, allocations: 6.044 MB / 0.6256 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003227/0.3001, allocations: 1.786 MB / 0.6274 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008096/0.3009, allocations: 8 kB / 0.6274 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005869/0.3015, allocations: 206.2 kB / 0.6276 GB, free: 2.105 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.3033, allocations: 0.7008 MB / 0.6283 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.3045, allocations: 0.5774 MB / 0.6288 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.3058, allocations: 1.335 MB / 0.6301 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/0.3063, allocations: 297.5 kB / 0.6304 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006232/0.3069, allocations: 0.5524 MB / 0.6309 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007286/0.3076, allocations: 0.6961 MB / 0.6316 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.3078, allocations: 96 kB / 0.6317 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004398/0.3082, allocations: 239.8 kB / 0.6319 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.3084, allocations: 262.9 kB / 0.6322 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000458/0.3089, allocations: 0.5786 MB / 0.6328 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.3103, allocations: 1.44 MB / 0.6342 GB, free: 11.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3103, allocations: 0 / 0.6342 GB, free: 11.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3103, allocations: 0 / 0.6342 GB, free: 11.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.3103, allocations: 0 / 0.6342 GB, free: 11.32 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.007839/0.3182, allocations: 2.446 MB / 0.6366 GB, free: 8.824 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3182, allocations: 12.03 kB / 0.6366 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.3184, allocations: 118.5 kB / 0.6367 GB, free: 8.688 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004937/0.3233, allocations: 0.7634 MB / 0.6374 GB, free: 7.918 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.3245, allocations: 0.7476 MB / 0.6382 GB, free: 7.125 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002733/0.3248, allocations: 248.2 kB / 0.6384 GB, free: 6.848 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.325, allocations: 75.94 kB / 0.6385 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.3272, allocations: 1.079 MB / 0.6395 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.3272, allocations: 4 kB / 0.6395 GB, free: 5.676 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.534e-05/0.3273, allocations: 28 kB / 0.6396 GB, free: 5.648 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.3273, allocations: 20 kB / 0.6396 GB, free: 5.629 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.3296, allocations: 1.042 MB / 0.6406 GB, free: 4.59 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.005065/0.3347, allocations: 3.045 MB / 0.6436 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.3377, allocations: 1.571 MB / 0.6451 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.3392, allocations: 0.7541 MB / 0.6458 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.3393, allocations: 16.97 kB / 0.6458 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.3393, allocations: 43.56 kB / 0.6459 GB, free: 14.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 2.475e-06/0.3394, allocations: 0 / 0.6459 GB, free: 14.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.03087/0.3702, allocations: 7.476 MB / 0.6532 GB, free: 7.379 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.3703, allocations: 60.41 kB / 0.6532 GB, free: 7.309 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.3715, allocations: 0.8474 MB / 0.6541 GB, free: 6.438 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001876/0.3717, allocations: 37.7 kB / 0.6541 GB, free: 6.395 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.372, allocations: 460.5 kB / 0.6546 GB, free: 5.938 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003504/0.3723, allocations: 327.3 kB / 0.6549 GB, free: 5.613 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.3727, allocations: 194.9 kB / 0.655 GB, free: 5.414 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3729, allocations: 357.9 kB / 0.6554 GB, free: 5.059 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.3745, allocations: 0.6897 MB / 0.6561 GB, free: 4.371 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.3761, allocations: 0.8181 MB / 0.6569 GB, free: 3.523 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003133/0.3792, allocations: 1.497 MB / 0.6583 GB, free: 2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.3793, allocations: 0 / 0.6583 GB, free: 2 MB / 462.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01463/0.3939, allocations: 4.359 MB / 0.6626 GB, free: 13.62 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.394, allocations: 8 kB / 0.6626 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.394, allocations: 0 / 0.6626 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006937/0.4009, allocations: 1.897 MB / 0.6644 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009315/0.4019, allocations: 171.8 kB / 0.6646 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02431/0.4262, allocations: 9.961 MB / 0.6743 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.4276, allocations: 159 kB / 0.6745 GB, free: 1.277 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.4278, allocations: 39.98 kB / 0.6745 GB, free: 1.238 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.0003895/0.4281, allocations: 233.6 kB / 0.6747 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.4284, allocations: 110.7 kB / 0.6749 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/0.4422, allocations: 4.053 MB / 0.6788 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.4423, allocations: 8 kB / 0.6788 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4423, allocations: 4 kB / 0.6788 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.4423, allocations: 7.922 kB / 0.6788 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/0.4583, allocations: 5.629 MB / 0.6843 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.4584, allocations: 3.938 kB / 0.6843 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/0.459, allocations: 91.89 kB / 0.6844 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006548/0.4655, allocations: 1.827 MB / 0.6862 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.4657, allocations: 20 kB / 0.6862 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02114/0.4869, allocations: 8.634 MB / 0.6947 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4869, allocations: 0 / 0.6947 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/0.5029, allocations: 4.967 MB / 0.6995 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.5033, allocations: 199.6 kB / 0.6997 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.5034, allocations: 16.12 kB / 0.6997 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.5045, allocations: 91.89 kB / 0.6998 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006139/0.5051, allocations: 204.7 kB / 0.7 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.401e-05/0.5052, allocations: 24 kB / 0.7 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007014/0.5059, allocations: 0.5706 MB / 0.7006 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5059, allocations: 0 / 0.7006 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001199/0.5071, allocations: 431.6 kB / 0.701 GB, free: 5.773 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.01612/0.5232, allocations: 5.533 MB / 0.7064 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007076/0.5303, allocations: 2.454 MB / 0.7088 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.5304, allocations: 4.062 kB / 0.7088 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005043/0.5354, allocations: 1.566 MB / 0.7103 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008674/0.5363, allocations: 83.42 kB / 0.7104 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0396/0.5759, allocations: 15.16 MB / 0.7252 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.5766, allocations: 1.057 MB / 0.7262 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003564/0.5769, allocations: 86.75 kB / 0.7263 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004937/0.5774, allocations: 395.3 kB / 0.7267 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/0.5774, allocations: 0 / 0.7267 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06563/0.6431, allocations: 34.86 MB / 0.7607 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.78/16.43, allocations: 4.062 kB / 0.7607 GB, free: 8.387 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 & /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)