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.001564/0.001564, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.439/1.439, allocations: 222.9 MB / 238.8 MB, free: 4.754 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.001337/0.001337, allocations: 196.4 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4619/0.4619, allocations: 78.52 MB / 417.8 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 79.86 kB / 496.9 MB, free: 6.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1372, allocations: 68.17 MB / 0.5518 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.2518/0.3891, allocations: 6.371 MB / 0.558 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.3925, allocations: 1.841 MB / 0.5598 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004025/0.3929, allocations: 10.94 kB / 0.5598 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005317/0.3934, allocations: 166.5 kB / 0.56 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.3948, allocations: 0.6203 MB / 0.5606 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.3959, allocations: 0.5388 MB / 0.5611 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.397, allocations: 1.273 MB / 0.5624 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000351/0.3974, allocations: 252.6 kB / 0.5626 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000498/0.3979, allocations: 0.5155 MB / 0.5631 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005494/0.3984, allocations: 0.6606 MB / 0.5637 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.3985, allocations: 63.06 kB / 0.5638 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.3989, allocations: 193.6 kB / 0.564 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.3991, allocations: 230.5 kB / 0.5642 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000387/0.3995, allocations: 0.5388 MB / 0.5647 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000991/0.4005, allocations: 1.392 MB / 0.5661 GB, free: 34.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4005, allocations: 0 / 0.5661 GB, free: 34.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.4005, allocations: 4.562 kB / 0.5661 GB, free: 34.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.4006, allocations: 0 / 0.5661 GB, free: 34.38 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.007257/0.4078, allocations: 2.446 MB / 0.5685 GB, free: 33.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.4079, allocations: 9.781 kB / 0.5685 GB, free: 33.54 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.408, allocations: 119.6 kB / 0.5686 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004651/0.4127, allocations: 0.7657 MB / 0.5694 GB, free: 33.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009422/0.4136, allocations: 0.7455 MB / 0.5701 GB, free: 33.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/0.4138, allocations: 248.9 kB / 0.5703 GB, free: 32.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.414, allocations: 77.73 kB / 0.5704 GB, free: 32.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.416, allocations: 1.084 MB / 0.5715 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.416, allocations: 0 / 0.5715 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.458e-05/0.4161, allocations: 28.59 kB / 0.5715 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.4161, allocations: 16.91 kB / 0.5715 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.4181, allocations: 1.034 MB / 0.5725 GB, free: 32.77 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.004374/0.4225, allocations: 3.07 MB / 0.5755 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.425, allocations: 1.567 MB / 0.577 GB, free: 31.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.4263, allocations: 0.7562 MB / 0.5778 GB, free: 31.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.4264, allocations: 17.66 kB / 0.5778 GB, free: 31.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.4264, allocations: 42.44 kB / 0.5778 GB, free: 30.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.665e-06/0.4264, allocations: 0 / 0.5778 GB, free: 30.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.02942/0.4558, allocations: 7.471 MB / 0.5851 GB, free: 29.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.4559, allocations: 60.91 kB / 0.5852 GB, free: 29.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.4572, allocations: 0.8449 MB / 0.586 GB, free: 29.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.4574, allocations: 40.89 kB / 0.5861 GB, free: 29.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.4577, allocations: 452.9 kB / 0.5865 GB, free: 28.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/0.458, allocations: 332 kB / 0.5868 GB, free: 28.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004029/0.4584, allocations: 194.3 kB / 0.587 GB, free: 28.47 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.4585, allocations: 354.3 kB / 0.5873 GB, free: 28.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.4601, allocations: 0.6959 MB / 0.588 GB, free: 27.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.4617, allocations: 0.8143 MB / 0.5888 GB, free: 27.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002928/0.4646, allocations: 1.503 MB / 0.5903 GB, free: 26.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.4646, allocations: 5.719 kB / 0.5903 GB, free: 26.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01473/0.4794, allocations: 4.357 MB / 0.5945 GB, free: 25.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.4794, allocations: 6.438 kB / 0.5945 GB, free: 25.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.4795, allocations: 1.219 kB / 0.5945 GB, free: 25.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006604/0.4861, allocations: 1.895 MB / 0.5964 GB, free: 25.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009893/0.4871, allocations: 174.6 kB / 0.5966 GB, free: 25.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0219/0.509, allocations: 9.188 MB / 0.6055 GB, free: 21.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.5106, allocations: 156 kB / 0.6057 GB, free: 21.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.5107, allocations: 38.34 kB / 0.6057 GB, free: 21.16 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.000442/0.5111, allocations: 233.2 kB / 0.6059 GB, free: 20.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.5114, allocations: 111.8 kB / 0.606 GB, free: 20.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/0.5248, allocations: 4.053 MB / 0.61 GB, free: 19.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.5248, allocations: 9.062 kB / 0.61 GB, free: 19.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5248, allocations: 3.984 kB / 0.61 GB, free: 19.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.5249, allocations: 5.266 kB / 0.61 GB, free: 19.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.5387, allocations: 5.636 MB / 0.6155 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.5388, allocations: 0 / 0.6155 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005308/0.5393, allocations: 95.89 kB / 0.6156 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005502/0.5448, allocations: 1.829 MB / 0.6174 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.7e-05/0.5449, allocations: 17.12 kB / 0.6174 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/0.5611, allocations: 7.868 MB / 0.6251 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5611, allocations: 0 / 0.6251 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/0.5751, allocations: 4.969 MB / 0.6299 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/0.5756, allocations: 191.6 kB / 0.6301 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.5757, allocations: 16 kB / 0.6301 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009978/0.5767, allocations: 101.9 kB / 0.6302 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006713/0.5774, allocations: 200.6 kB / 0.6304 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/0.5775, allocations: 24 kB / 0.6305 GB, free: 14.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007511/0.5783, allocations: 0.5628 MB / 0.631 GB, free: 13.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5783, allocations: 4 kB / 0.631 GB, free: 13.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001383/0.5796, allocations: 439.6 kB / 0.6314 GB, free: 13.3 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.02154/0.6012, allocations: 5.538 MB / 0.6368 GB, free: 7.719 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009359/0.6106, allocations: 2.394 MB / 0.6392 GB, free: 5.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.6106, allocations: 4 kB / 0.6392 GB, free: 5.316 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006109/0.6168, allocations: 1.535 MB / 0.6407 GB, free: 3.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.6181, allocations: 84.77 kB / 0.6408 GB, free: 3.688 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04059/0.6587, allocations: 16.01 MB / 0.6564 GB, free: 3.363 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006662/0.6594, allocations: 1.057 MB / 0.6574 GB, free: 2.281 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003894/0.6598, allocations: 86.72 kB / 0.6575 GB, free: 2.195 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/0.6603, allocations: 391.3 kB / 0.6579 GB, free: 1.816 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6603, allocations: 0 / 0.6579 GB, free: 1.816 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05007/0.7104, allocations: 30.49 MB / 0.6877 GB, free: 3.645 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.7106, allocations: 212.6 kB / 0.6879 GB, free: 3.395 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.218, allocations: 7.719 kB / 0.6879 GB, free: 3.391 MB / 494.1 MB (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)