Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0/package.mo): time 0.1052/0.1052, allocations: 12.2 MB / 27.43 MB, free: 1.379 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 120.3 kB / 30.94 MB, free: 4.656 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.1 MB / 239.4 MB, free: 10.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002225/0.002225, allocations: 192.5 kB / 289.6 MB, free: 15.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5008/0.5008, allocations: 78.5 MB / 418.1 MB, free: 31.73 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00307/0.00307, allocations: 139.8 kB / 498.5 MB, free: 408 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5063/0.5094, allocations: 68.02 MB / 0.5533 GB, free: 37.61 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.006396/0.5158, allocations: 6.442 MB / 0.5596 GB, free: 32.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002873/0.5187, allocations: 1.791 MB / 0.5613 GB, free: 31.6 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003431/0.519, allocations: 11.22 kB / 0.5613 GB, free: 31.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004647/0.5195, allocations: 165.5 kB / 0.5615 GB, free: 31.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.5209, allocations: 0.6159 MB / 0.5621 GB, free: 31.13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009792/0.5219, allocations: 0.5381 MB / 0.5626 GB, free: 30.83 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.523, allocations: 1.321 MB / 0.5639 GB, free: 30.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/0.5235, allocations: 299.7 kB / 0.5642 GB, free: 30.03 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005675/0.524, allocations: 0.5567 MB / 0.5647 GB, free: 29.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006684/0.5247, allocations: 0.6925 MB / 0.5654 GB, free: 29.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.5249, allocations: 99.53 kB / 0.5655 GB, free: 29.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000395/0.5253, allocations: 230.5 kB / 0.5657 GB, free: 29.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.5255, allocations: 262.5 kB / 0.566 GB, free: 29.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004617/0.526, allocations: 0.5802 MB / 0.5665 GB, free: 28.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.5273, allocations: 1.427 MB / 0.5679 GB, free: 28.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.5273, allocations: 0 / 0.5679 GB, free: 28.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5273, allocations: 3.938 kB / 0.5679 GB, free: 28.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.422e-05/0.5273, allocations: 4 kB / 0.5679 GB, free: 28.14 MB / 414.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.007246/0.5346, allocations: 2.442 MB / 0.5703 GB, free: 27.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.5347, allocations: 13.95 kB / 0.5703 GB, free: 27.03 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001613/0.5348, allocations: 126.7 kB / 0.5704 GB, free: 26.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004579/0.5394, allocations: 0.7608 MB / 0.5712 GB, free: 26.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.5404, allocations: 0.737 MB / 0.5719 GB, free: 26.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002658/0.5407, allocations: 248.4 kB / 0.5721 GB, free: 26.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.5409, allocations: 78.73 kB / 0.5722 GB, free: 26.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.543, allocations: 1.086 MB / 0.5733 GB, free: 25.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.5431, allocations: 0 / 0.5733 GB, free: 25.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.371e-05/0.5432, allocations: 31.88 kB / 0.5733 GB, free: 25.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.5432, allocations: 15.84 kB / 0.5733 GB, free: 25.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.5453, allocations: 1.036 MB / 0.5743 GB, free: 25.25 MB / 414.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.005446/0.5507, allocations: 3.066 MB / 0.5773 GB, free: 23.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003245/0.554, allocations: 1.564 MB / 0.5789 GB, free: 22.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.5555, allocations: 0.7545 MB / 0.5796 GB, free: 22.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.5557, allocations: 15.89 kB / 0.5796 GB, free: 22.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.5557, allocations: 41.45 kB / 0.5797 GB, free: 22.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 1.843e-06/0.5557, allocations: 3.938 kB / 0.5797 GB, free: 22.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.03164/0.5873, allocations: 7.479 MB / 0.587 GB, free: 20.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.5874, allocations: 62.09 kB / 0.587 GB, free: 19.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.5887, allocations: 0.8394 MB / 0.5878 GB, free: 19.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.625e-05/0.5888, allocations: 41.17 kB / 0.5879 GB, free: 19.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.5891, allocations: 452.8 kB / 0.5883 GB, free: 19.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.5894, allocations: 336.5 kB / 0.5886 GB, free: 18.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004286/0.5899, allocations: 199.9 kB / 0.5888 GB, free: 18.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.59, allocations: 356 kB / 0.5892 GB, free: 18.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.5916, allocations: 0.6909 MB / 0.5898 GB, free: 17.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.5933, allocations: 0.8183 MB / 0.5906 GB, free: 17.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003226/0.5965, allocations: 1.502 MB / 0.5921 GB, free: 16.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.5965, allocations: 0 / 0.5921 GB, free: 16.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01382/0.6104, allocations: 4.357 MB / 0.5964 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.6104, allocations: 7.125 kB / 0.5964 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.6104, allocations: 7.984 kB / 0.5964 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005825/0.6163, allocations: 1.893 MB / 0.5982 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007623/0.6171, allocations: 179.7 kB / 0.5984 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02001/0.6371, allocations: 9.963 MB / 0.6081 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.6384, allocations: 167 kB / 0.6083 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.145e-05/0.6385, allocations: 32 kB / 0.6083 GB, free: 1.855 MB / 414.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.0003962/0.6389, allocations: 239.1 kB / 0.6085 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.6391, allocations: 110.6 kB / 0.6086 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/0.6518, allocations: 4.053 MB / 0.6126 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.6518, allocations: 12 kB / 0.6126 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.6518, allocations: 0 / 0.6126 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.6518, allocations: 3.984 kB / 0.6126 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.6668, allocations: 5.636 MB / 0.6181 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6668, allocations: 0 / 0.6181 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.6673, allocations: 99.83 kB / 0.6182 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005889/0.6732, allocations: 1.835 MB / 0.62 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.204e-05/0.6733, allocations: 16 kB / 0.62 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01975/0.693, allocations: 8.646 MB / 0.6285 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.693, allocations: 3.938 kB / 0.6285 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/0.7077, allocations: 4.961 MB / 0.6333 GB, free: 7.914 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/0.7081, allocations: 199.5 kB / 0.6335 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.7082, allocations: 16 kB / 0.6335 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009563/0.7092, allocations: 91.89 kB / 0.6336 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005924/0.7098, allocations: 204.7 kB / 0.6338 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.542e-05/0.7099, allocations: 20 kB / 0.6338 GB, free: 7.375 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007856/0.7107, allocations: 0.5667 MB / 0.6344 GB, free: 6.797 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7107, allocations: 0 / 0.6344 GB, free: 6.797 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001411/0.7121, allocations: 443.5 kB / 0.6348 GB, free: 6.363 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.01507/0.7272, allocations: 5.53 MB / 0.6402 GB, free: 0.793 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007053/0.7343, allocations: 2.467 MB / 0.6426 GB, free: 14.31 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.7343, allocations: 0 / 0.6426 GB, free: 14.31 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004523/0.7388, allocations: 1.578 MB / 0.6442 GB, free: 12.72 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007331/0.7395, allocations: 87.23 kB / 0.6442 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03844/0.778, allocations: 16.01 MB / 0.6599 GB, free: 12.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007925/0.7788, allocations: 1.057 MB / 0.6609 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003609/0.7792, allocations: 90.75 kB / 0.661 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005642/0.7798, allocations: 395.3 kB / 0.6614 GB, free: 10.7 MB / 478.1 MB Notification: Performance of SimCode: time 9.51e-07/0.7798, allocations: 0 / 0.6614 GB, free: 10.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06688/0.8467, allocations: 31.91 MB / 0.6925 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.8469, allocations: 221.9 kB / 0.6927 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.083/3.93, allocations: 4 kB / 0.6927 GB, free: 10.6 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)