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.001259/0.001259, 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.337/1.337, allocations: 222.9 MB / 239.3 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.001509/0.001509, allocations: 188.5 kB / 289.6 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5069/0.5069, allocations: 91.91 MB / 431.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 75.88 kB / 0.502 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3091, allocations: 71.26 MB / 0.5716 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.004856/0.314, allocations: 6.057 MB / 0.5775 GB, free: 33.1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.3167, allocations: 1.8 MB / 0.5792 GB, free: 31.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004176/0.3172, allocations: 8.625 kB / 0.5793 GB, free: 31.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.3176, allocations: 210 kB / 0.5795 GB, free: 31.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.319, allocations: 0.698 MB / 0.5801 GB, free: 31.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.32, allocations: 0.5764 MB / 0.5807 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000928/0.3209, allocations: 1.325 MB / 0.582 GB, free: 30.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003382/0.3213, allocations: 303.1 kB / 0.5823 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005047/0.3218, allocations: 0.5547 MB / 0.5828 GB, free: 30 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000562/0.3224, allocations: 0.6935 MB / 0.5835 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.3225, allocations: 105.5 kB / 0.5836 GB, free: 29.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003763/0.3229, allocations: 224.1 kB / 0.5838 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.323, allocations: 263.6 kB / 0.5841 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003494/0.3234, allocations: 0.5812 MB / 0.5846 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000963/0.3244, allocations: 1.421 MB / 0.586 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3244, allocations: 3.938 kB / 0.586 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3244, allocations: 0 / 0.586 GB, free: 28.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.3244, allocations: 7.25 kB / 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.007329/0.3318, allocations: 2.441 MB / 0.5884 GB, free: 27.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3318, allocations: 10.31 kB / 0.5884 GB, free: 27.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.3319, allocations: 118.4 kB / 0.5885 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004896/0.3369, allocations: 0.7737 MB / 0.5893 GB, free: 27.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.3379, allocations: 0.7354 MB / 0.59 GB, free: 26.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/0.3381, allocations: 249.3 kB / 0.5903 GB, free: 26.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.3383, allocations: 75.56 kB / 0.5903 GB, free: 26.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.3403, allocations: 1.087 MB / 0.5914 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.3403, allocations: 0 / 0.5914 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-05/0.3404, allocations: 30.31 kB / 0.5914 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.3405, allocations: 17.75 kB / 0.5914 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.3426, allocations: 1.034 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.004805/0.3474, allocations: 3.067 MB / 0.5954 GB, free: 23.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.3504, allocations: 1.56 MB / 0.597 GB, free: 22.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.3518, allocations: 0.7594 MB / 0.5977 GB, free: 22.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.745e-05/0.3519, allocations: 17.19 kB / 0.5977 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.352, allocations: 46.66 kB / 0.5978 GB, free: 22.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.975e-06/0.352, allocations: 0 / 0.5978 GB, free: 22.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.0309/0.3829, allocations: 7.469 MB / 0.6051 GB, free: 21.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.383, allocations: 61.97 kB / 0.6051 GB, free: 21.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.3841, allocations: 0.8491 MB / 0.6059 GB, free: 20.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.3842, allocations: 40.3 kB / 0.606 GB, free: 20.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.3845, allocations: 449.9 kB / 0.6064 GB, free: 20.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.3847, allocations: 337 kB / 0.6067 GB, free: 20.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/0.3851, allocations: 194.7 kB / 0.6069 GB, free: 19.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.813e-05/0.3852, allocations: 353.9 kB / 0.6073 GB, free: 19.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.3867, allocations: 0.6911 MB / 0.6079 GB, free: 19.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/0.3883, allocations: 0.8219 MB / 0.6087 GB, free: 19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/0.3913, allocations: 1.495 MB / 0.6102 GB, free: 18.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.3913, allocations: 5.469 kB / 0.6102 GB, free: 18.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01434/0.4056, allocations: 4.353 MB / 0.6145 GB, free: 16.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.4057, allocations: 10.09 kB / 0.6145 GB, free: 16.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.4057, allocations: 2.625 kB / 0.6145 GB, free: 16.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006575/0.4123, allocations: 1.895 MB / 0.6163 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008936/0.4132, allocations: 176.2 kB / 0.6165 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02105/0.4343, allocations: 9.98 MB / 0.6262 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.4358, allocations: 163 kB / 0.6264 GB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/0.4359, allocations: 39.94 kB / 0.6264 GB, free: 5.816 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.0003583/0.4362, allocations: 233.6 kB / 0.6266 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.4364, allocations: 106.7 kB / 0.6267 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/0.4491, allocations: 4.057 MB / 0.6307 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.4492, allocations: 8 kB / 0.6307 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.4492, allocations: 0 / 0.6307 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.4492, allocations: 7.984 kB / 0.6307 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/0.4644, allocations: 5.632 MB / 0.6362 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.4645, allocations: 8 kB / 0.6362 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/0.465, allocations: 91.83 kB / 0.6363 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006394/0.4714, allocations: 1.839 MB / 0.6381 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.4716, allocations: 16 kB / 0.6381 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02037/0.492, allocations: 8.638 MB / 0.6466 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.492, allocations: 3.938 kB / 0.6466 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/0.5075, allocations: 4.966 MB / 0.6514 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003461/0.5079, allocations: 191.6 kB / 0.6516 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.5081, allocations: 16 kB / 0.6516 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.5091, allocations: 91.89 kB / 0.6517 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005796/0.5097, allocations: 208.7 kB / 0.6519 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.637e-05/0.5098, allocations: 20 kB / 0.6519 GB, free: 11.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006653/0.5104, allocations: 0.5628 MB / 0.6525 GB, free: 10.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5104, allocations: 0 / 0.6525 GB, free: 10.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001113/0.5116, allocations: 443.5 kB / 0.6529 GB, free: 10.33 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.01587/0.5274, allocations: 5.541 MB / 0.6583 GB, free: 4.754 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007149/0.5346, allocations: 2.467 MB / 0.6607 GB, free: 2.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5347, allocations: 4.062 kB / 0.6607 GB, free: 2.266 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004814/0.5395, allocations: 1.576 MB / 0.6623 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007903/0.5403, allocations: 79.44 kB / 0.6623 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0387/0.579, allocations: 15.66 MB / 0.6776 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.5796, allocations: 1.053 MB / 0.6787 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003672/0.58, allocations: 86.75 kB / 0.6787 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005114/0.5805, allocations: 399.3 kB / 0.6791 GB, free: 15.02 MB / 494.1 MB Notification: Performance of SimCode: time 6.42e-07/0.5806, allocations: 0 / 0.6791 GB, free: 15.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06032/0.6409, allocations: 33.03 MB / 0.7114 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.6, allocations: 10.08 kB / 0.7114 GB, free: 14.09 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)