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.001194/0.001194, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.392/1.392, allocations: 222.9 MB / 238.9 MB, free: 4.75 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.001511/0.001511, allocations: 192.5 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5448/0.5448, allocations: 91.91 MB / 431.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 75.88 kB / 0.5013 GB, free: 8.039 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.41, allocations: 71.25 MB / 0.5709 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.008958/0.419, allocations: 6.413 MB / 0.5772 GB, free: 32.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004885/0.4239, allocations: 1.838 MB / 0.579 GB, free: 31.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.4255, allocations: 9.062 kB / 0.579 GB, free: 31.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.4266, allocations: 168.1 kB / 0.5791 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.4297, allocations: 0.6203 MB / 0.5797 GB, free: 31.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.4316, allocations: 0.5384 MB / 0.5803 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002458/0.4341, allocations: 1.267 MB / 0.5815 GB, free: 30.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007369/0.4349, allocations: 260.8 kB / 0.5818 GB, free: 30.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.436, allocations: 0.5143 MB / 0.5823 GB, free: 29.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009998/0.437, allocations: 0.6696 MB / 0.5829 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003766/0.4374, allocations: 63.41 kB / 0.583 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008063/0.4382, allocations: 192.5 kB / 0.5832 GB, free: 29.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003604/0.4386, allocations: 228.3 kB / 0.5834 GB, free: 29.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009564/0.4396, allocations: 0.5431 MB / 0.5839 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.4413, allocations: 1.389 MB / 0.5853 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4414, allocations: 0 / 0.5853 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4414, allocations: 3.938 kB / 0.5853 GB, free: 28.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.984e-05/0.4415, allocations: 0 / 0.5853 GB, free: 28.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.009054/0.4505, allocations: 2.445 MB / 0.5877 GB, free: 27.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.4506, allocations: 9.719 kB / 0.5877 GB, free: 27.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003306/0.4509, allocations: 119.6 kB / 0.5878 GB, free: 27.15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005265/0.4562, allocations: 0.7694 MB / 0.5885 GB, free: 27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.4577, allocations: 0.7342 MB / 0.5892 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003055/0.4581, allocations: 247.3 kB / 0.5895 GB, free: 26.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002772/0.4584, allocations: 80.52 kB / 0.5896 GB, free: 26.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/0.4611, allocations: 1.087 MB / 0.5906 GB, free: 25.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.4611, allocations: 3.938 kB / 0.5906 GB, free: 25.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.4612, allocations: 30.44 kB / 0.5906 GB, free: 25.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.4613, allocations: 16.38 kB / 0.5907 GB, free: 25.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.4637, allocations: 1.036 MB / 0.5917 GB, free: 25.45 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.005877/0.4696, allocations: 3.069 MB / 0.5947 GB, free: 23.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/0.4727, allocations: 1.559 MB / 0.5962 GB, free: 22.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.4742, allocations: 0.7551 MB / 0.5969 GB, free: 22.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.4743, allocations: 19.52 kB / 0.597 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.4744, allocations: 39.31 kB / 0.597 GB, free: 22.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.306e-06/0.4744, allocations: 4.938 kB / 0.597 GB, free: 22.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03277/0.5071, allocations: 7.469 MB / 0.6043 GB, free: 21.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.5072, allocations: 65.62 kB / 0.6044 GB, free: 21.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.509, allocations: 0.8468 MB / 0.6052 GB, free: 20.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002758/0.5093, allocations: 41.17 kB / 0.6052 GB, free: 20.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.5097, allocations: 448.3 kB / 0.6056 GB, free: 20.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005251/0.5102, allocations: 332.8 kB / 0.606 GB, free: 19.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006383/0.5109, allocations: 197.8 kB / 0.6062 GB, free: 19.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.511, allocations: 354.5 kB / 0.6065 GB, free: 19.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.5127, allocations: 0.6945 MB / 0.6072 GB, free: 19.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.5145, allocations: 0.8151 MB / 0.608 GB, free: 18.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/0.5178, allocations: 1.503 MB / 0.6094 GB, free: 18.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.5178, allocations: 0 / 0.6094 GB, free: 18.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01524/0.5331, allocations: 4.351 MB / 0.6137 GB, free: 17.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.5332, allocations: 6.719 kB / 0.6137 GB, free: 17.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.5332, allocations: 3.125 kB / 0.6137 GB, free: 17.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006818/0.54, allocations: 1.899 MB / 0.6155 GB, free: 16.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.5411, allocations: 171.3 kB / 0.6157 GB, free: 16.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02365/0.5648, allocations: 9.185 MB / 0.6247 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/0.5674, allocations: 163 kB / 0.6248 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003545/0.5677, allocations: 35.98 kB / 0.6249 GB, free: 6.957 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.0008918/0.5687, allocations: 233.7 kB / 0.6251 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005414/0.5692, allocations: 110.6 kB / 0.6252 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0198/0.589, allocations: 4.057 MB / 0.6292 GB, free: 2.539 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/0.5891, allocations: 12 kB / 0.6292 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.5891, allocations: 0 / 0.6292 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.325e-05/0.5892, allocations: 7.922 kB / 0.6292 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02786/0.6171, allocations: 5.633 MB / 0.6347 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/0.6171, allocations: 3.938 kB / 0.6347 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006995/0.6178, allocations: 99.83 kB / 0.6348 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006641/0.6245, allocations: 1.827 MB / 0.6366 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002868/0.6248, allocations: 23.98 kB / 0.6366 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02173/0.6466, allocations: 7.87 MB / 0.6443 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.6466, allocations: 0 / 0.6443 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/0.6629, allocations: 4.958 MB / 0.6491 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000612/0.6636, allocations: 191.6 kB / 0.6493 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004907/0.6641, allocations: 20 kB / 0.6493 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.6654, allocations: 95.83 kB / 0.6494 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008055/0.6662, allocations: 200.6 kB / 0.6496 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/0.6664, allocations: 20 kB / 0.6496 GB, free: 13.26 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001019/0.6674, allocations: 0.5745 MB / 0.6502 GB, free: 12.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6675, allocations: 0 / 0.6502 GB, free: 12.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001894/0.6694, allocations: 439.5 kB / 0.6506 GB, free: 12.25 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.01642/0.6858, allocations: 5.534 MB / 0.656 GB, free: 6.672 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00741/0.6933, allocations: 2.407 MB / 0.6583 GB, free: 4.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.6933, allocations: 4 kB / 0.6584 GB, free: 4.246 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005034/0.6983, allocations: 1.535 MB / 0.6598 GB, free: 2.703 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.6997, allocations: 87.36 kB / 0.6599 GB, free: 2.617 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04372/0.7435, allocations: 16 MB / 0.6756 GB, free: 2.266 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008942/0.7444, allocations: 1.057 MB / 0.6766 GB, free: 1.184 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005047/0.7449, allocations: 86.77 kB / 0.6767 GB, free: 1.094 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006831/0.7456, allocations: 391.3 kB / 0.677 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of SimCode: time 1.443e-06/0.7456, allocations: 0 / 0.677 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06012/0.8058, allocations: 30.5 MB / 0.7068 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.806, allocations: 215.4 kB / 0.707 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.762/3.568, allocations: 4 kB / 0.707 GB, free: 2.082 MB / 0.4981 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)