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.006984/0.006983, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.332/1.332, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001514/0.001513, allocations: 188.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4678/0.4678, allocations: 78.53 MB / 418.4 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 75.88 kB / 0.5531 GB, free: 1.434 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3601, allocations: 68.17 MB / 0.6197 GB, free: 9.32 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005095/0.3653, allocations: 6.041 MB / 0.6256 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.368, allocations: 1.786 MB / 0.6274 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.3684, allocations: 11.94 kB / 0.6274 GB, free: 2.277 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.3688, allocations: 202.2 kB / 0.6276 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.3701, allocations: 0.7574 MB / 0.6283 GB, free: 1.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009668/0.3711, allocations: 0.5709 MB / 0.6289 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.3722, allocations: 1.339 MB / 0.6302 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004078/0.3727, allocations: 293.5 kB / 0.6305 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006021/0.3733, allocations: 0.5563 MB / 0.631 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006941/0.374, allocations: 0.6922 MB / 0.6317 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.3741, allocations: 96 kB / 0.6318 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.3745, allocations: 239.9 kB / 0.632 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.3748, allocations: 266.8 kB / 0.6322 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004793/0.3753, allocations: 0.5747 MB / 0.6328 GB, free: 12.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.3766, allocations: 1.44 MB / 0.6342 GB, free: 11.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3767, allocations: 0 / 0.6342 GB, free: 11.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3767, allocations: 0 / 0.6342 GB, free: 11.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.3767, allocations: 0 / 0.6342 GB, free: 11.25 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.00741/0.3841, allocations: 2.45 MB / 0.6366 GB, free: 8.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.3842, allocations: 8.031 kB / 0.6366 GB, free: 8.734 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.3843, allocations: 126.5 kB / 0.6367 GB, free: 8.602 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/0.3891, allocations: 0.7634 MB / 0.6375 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.3906, allocations: 0.7437 MB / 0.6382 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003287/0.391, allocations: 244.2 kB / 0.6384 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.3912, allocations: 79.92 kB / 0.6385 GB, free: 6.691 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.3936, allocations: 1.083 MB / 0.6396 GB, free: 5.594 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.3936, allocations: 3.938 kB / 0.6396 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.653e-05/0.3937, allocations: 32 kB / 0.6396 GB, free: 5.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.3937, allocations: 16 kB / 0.6396 GB, free: 5.543 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/0.3961, allocations: 1.035 MB / 0.6406 GB, free: 4.512 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.005746/0.4019, allocations: 3.045 MB / 0.6436 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003021/0.4049, allocations: 1.573 MB / 0.6451 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.4064, allocations: 0.7567 MB / 0.6459 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.4065, allocations: 16.97 kB / 0.6459 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.4066, allocations: 47.56 kB / 0.6459 GB, free: 14.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 3.116e-06/0.4066, allocations: 0 / 0.6459 GB, free: 14.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.02877/0.4353, allocations: 7.468 MB / 0.6532 GB, free: 7.301 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.4354, allocations: 72.33 kB / 0.6533 GB, free: 7.219 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.4369, allocations: 0.8435 MB / 0.6541 GB, free: 6.352 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001715/0.4371, allocations: 41.7 kB / 0.6542 GB, free: 6.305 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/0.4375, allocations: 452.5 kB / 0.6546 GB, free: 5.855 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/0.438, allocations: 331.3 kB / 0.6549 GB, free: 5.527 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000559/0.4386, allocations: 194.8 kB / 0.6551 GB, free: 5.328 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4387, allocations: 353.9 kB / 0.6554 GB, free: 4.977 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.4402, allocations: 0.6897 MB / 0.6561 GB, free: 4.289 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.4418, allocations: 0.8181 MB / 0.6569 GB, free: 3.441 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002992/0.4448, allocations: 1.493 MB / 0.6584 GB, free: 1.922 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.4448, allocations: 4 kB / 0.6584 GB, free: 1.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01341/0.4582, allocations: 4.355 MB / 0.6626 GB, free: 13.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.4583, allocations: 4 kB / 0.6626 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.4583, allocations: 7.938 kB / 0.6626 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006162/0.4645, allocations: 1.893 MB / 0.6645 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008932/0.4654, allocations: 175.8 kB / 0.6647 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02234/0.4878, allocations: 9.961 MB / 0.6744 GB, free: 1.352 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.4892, allocations: 163 kB / 0.6745 GB, free: 1.191 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/0.4895, allocations: 35.98 kB / 0.6746 GB, free: 1.156 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.0005828/0.4901, allocations: 237.6 kB / 0.6748 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.4904, allocations: 106.7 kB / 0.6749 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/0.5026, allocations: 4.053 MB / 0.6789 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.5026, allocations: 12 kB / 0.6789 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5026, allocations: 3.984 kB / 0.6789 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.5026, allocations: 3.984 kB / 0.6789 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/0.5168, allocations: 5.629 MB / 0.6844 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.5168, allocations: 0 / 0.6844 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005186/0.5173, allocations: 87.89 kB / 0.6845 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005639/0.523, allocations: 1.843 MB / 0.6863 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.985e-05/0.5231, allocations: 19.98 kB / 0.6863 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/0.5424, allocations: 8.631 MB / 0.6947 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5424, allocations: 0 / 0.6947 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/0.5562, allocations: 4.963 MB / 0.6996 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.5566, allocations: 199.6 kB / 0.6997 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.5568, allocations: 19.94 kB / 0.6998 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009739/0.5577, allocations: 91.89 kB / 0.6999 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005794/0.5583, allocations: 196.7 kB / 0.7 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.703e-05/0.5584, allocations: 28 kB / 0.7001 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008381/0.5593, allocations: 0.5667 MB / 0.7006 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5593, allocations: 0 / 0.7006 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001401/0.5607, allocations: 435.6 kB / 0.701 GB, free: 5.691 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.01421/0.5749, allocations: 5.537 MB / 0.7064 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006575/0.5815, allocations: 2.445 MB / 0.7088 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.5816, allocations: 4.062 kB / 0.7088 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004402/0.586, allocations: 1.573 MB / 0.7104 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.587, allocations: 83.44 kB / 0.7104 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03786/0.6249, allocations: 15.15 MB / 0.7252 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009365/0.6259, allocations: 1.061 MB / 0.7263 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004592/0.6264, allocations: 78.78 kB / 0.7264 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007004/0.6271, allocations: 399.3 kB / 0.7267 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of SimCode: time 1.212e-06/0.6271, allocations: 0 / 0.7267 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07249/0.6996, allocations: 33.42 MB / 0.7594 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.29/16.99, allocations: 3.875 kB / 0.7594 GB, free: 9.754 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)